Only use --high-entropy-va on x86_64

git-svn-id: https://svn.eduke32.com/eduke32@8054 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-08-29 01:21:05 +00:00 committed by Christoph Oelckers
parent d27c705b15
commit 565ad4c5b6

View file

@ -530,11 +530,12 @@ ifeq ($(PLATFORM),WINDOWS)
ASFORMAT := win$(BITS) ASFORMAT := win$(BITS)
ASFLAGS += -DUNDERSCORES ASFLAGS += -DUNDERSCORES
LINKERFLAGS += -Wl,--enable-auto-import,--dynamicbase,--nxcompat
ifneq ($(findstring x86_64,$(COMPILERTARGET)),x86_64) ifneq ($(findstring x86_64,$(COMPILERTARGET)),x86_64)
LINKERFLAGS += -Wl,--large-address-aware LINKERFLAGS += -Wl,--large-address-aware
else
LINKERFLAGS += -Wl,--high-entropy-va
endif endif
LINKERFLAGS += -Wl,--enable-auto-import
LINKERFLAGS += -Wl,--dynamicbase,--nxcompat
LUAJIT_BCOPTS := -o windows LUAJIT_BCOPTS := -o windows
ifeq (32,$(BITS)) ifeq (32,$(BITS))