mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +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=
|
||||
LDFLAGS = -m32 -mwindows -Wl,--large-address-aware
|
||||
LDFLAGS += $(QSS_LDFLAGS)
|
||||
LDFLAGS += -Wl,--no-insert-timestamp #prevent non-determinism in the exe header. mustn't be used for dlls.
|
||||
DFLAGS ?=
|
||||
CFLAGS ?= -m32 -Wall -Wno-trigraphs
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
|
|
|
@ -49,6 +49,7 @@ STRIP = strip
|
|||
CPUFLAGS=
|
||||
LDFLAGS = -m64 -mwindows
|
||||
LDFLAGS += $(QSS_LDFLAGS)
|
||||
LDFLAGS += -Wl,--no-insert-timestamp #prevent non-determinism in the exe header. mustn't be used for dlls.
|
||||
DFLAGS ?=
|
||||
CFLAGS ?= -m64 -Wall -Wno-trigraphs
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
|
|
|
@ -1049,7 +1049,11 @@ void Host_Init (void)
|
|||
NET_Init ();
|
||||
SV_Init ();
|
||||
|
||||
#ifdef QSS_DATE //avoid non-determinism.
|
||||
Con_Printf ("Exe: " ENGINE_NAME_AND_VER "\n");
|
||||
#else
|
||||
Con_Printf ("Exe: " __TIME__ " " __DATE__ "\n");
|
||||
#endif
|
||||
Con_Printf ("%4.1f megabyte heap\n", host_parms->memsize/ (1024*1024.0));
|
||||
|
||||
if (cls.state != ca_dedicated)
|
||||
|
|
Loading…
Reference in a new issue