mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Small tweaks to make builds more deterministic.
This commit is contained in:
parent
f675ce9b95
commit
3fae242613
3 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,7 @@ STRIP = strip
|
||||||
CPUFLAGS=
|
CPUFLAGS=
|
||||||
LDFLAGS = -m32 -mwindows -Wl,--large-address-aware
|
LDFLAGS = -m32 -mwindows -Wl,--large-address-aware
|
||||||
LDFLAGS += $(QSS_LDFLAGS)
|
LDFLAGS += $(QSS_LDFLAGS)
|
||||||
|
LDFLAGS += -Wl,--no-insert-timestamp #prevent non-determinism in the exe header. mustn't be used for dlls.
|
||||||
DFLAGS ?=
|
DFLAGS ?=
|
||||||
CFLAGS ?= -m32 -Wall -Wno-trigraphs
|
CFLAGS ?= -m32 -Wall -Wno-trigraphs
|
||||||
CFLAGS += $(CPUFLAGS)
|
CFLAGS += $(CPUFLAGS)
|
||||||
|
|
|
@ -49,6 +49,7 @@ STRIP = strip
|
||||||
CPUFLAGS=
|
CPUFLAGS=
|
||||||
LDFLAGS = -m64 -mwindows
|
LDFLAGS = -m64 -mwindows
|
||||||
LDFLAGS += $(QSS_LDFLAGS)
|
LDFLAGS += $(QSS_LDFLAGS)
|
||||||
|
LDFLAGS += -Wl,--no-insert-timestamp #prevent non-determinism in the exe header. mustn't be used for dlls.
|
||||||
DFLAGS ?=
|
DFLAGS ?=
|
||||||
CFLAGS ?= -m64 -Wall -Wno-trigraphs
|
CFLAGS ?= -m64 -Wall -Wno-trigraphs
|
||||||
CFLAGS += $(CPUFLAGS)
|
CFLAGS += $(CPUFLAGS)
|
||||||
|
|
|
@ -1049,7 +1049,11 @@ void Host_Init (void)
|
||||||
NET_Init ();
|
NET_Init ();
|
||||||
SV_Init ();
|
SV_Init ();
|
||||||
|
|
||||||
|
#ifdef QSS_DATE //avoid non-determinism.
|
||||||
|
Con_Printf ("Exe: " ENGINE_NAME_AND_VER "\n");
|
||||||
|
#else
|
||||||
Con_Printf ("Exe: " __TIME__ " " __DATE__ "\n");
|
Con_Printf ("Exe: " __TIME__ " " __DATE__ "\n");
|
||||||
|
#endif
|
||||||
Con_Printf ("%4.1f megabyte heap\n", host_parms->memsize/ (1024*1024.0));
|
Con_Printf ("%4.1f megabyte heap\n", host_parms->memsize/ (1024*1024.0));
|
||||||
|
|
||||||
if (cls.state != ca_dedicated)
|
if (cls.state != ca_dedicated)
|
||||||
|
|
Loading…
Reference in a new issue