From 7d5de552b6213c47ee6806e9fb6523f360261493 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 10 Dec 2019 14:36:53 +0000 Subject: [PATCH] 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 --- engine/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/Makefile b/engine/Makefile index bcf90e583..994bf4e19 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -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