Allow additional linker options to be passed through via command line arguments

This commit is contained in:
Nick Parker 2017-03-09 15:08:33 -06:00
parent 339f4d3ffe
commit 1963d489e0

View File

@ -965,10 +965,10 @@ LTLINK = $(LTLINK) rpcrt4.lib
# set this for you. Otherwise, the linker will attempt
# to deduce the binary type based on the object files.
!IFDEF PLATFORM
LTLINKOPTS = /NOLOGO /MACHINE:$(PLATFORM)
LTLINKOPTS = $(LTLINKOPTS) /NOLOGO /MACHINE:$(PLATFORM)
LTLIBOPTS = /NOLOGO /MACHINE:$(PLATFORM)
!ELSE
LTLINKOPTS = /NOLOGO
LTLINKOPTS = $(LTLINKOPTS) /NOLOGO
LTLIBOPTS = /NOLOGO
!ENDIF