Try to fix timestamps issue that was breaking fully deterministic builds.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5587 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-12-10 14:36:53 +00:00
parent 7628dcae73
commit 7d5de552b6
1 changed files with 2 additions and 0 deletions

View File

@ -1298,6 +1298,8 @@ ifeq (win,$(findstring win,$(FTE_TARGET))$(findstring _SDL,$(FTE_TARGET)))
ifeq ($(FTE_TARGET),win32)
BASELDFLAGS=-Wl,--large-address-aware
endif
#Note: for deterministic builds, the following line disables timestamps for import/export tables. This is UNSAFE if there are any PE files bound to the compiled PE file. Our plugin dlls are dynamically loaded so this should not be an issue for us.
BASELDFLAGS+=-Wl,--no-insert-timestamp
BASELDFLAGS+=-lcomctl32
EXEPOSTFIX=.exe