From 565ad4c5b62d1b945ee6de5f7881e5b3d90aa6f5 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 29 Aug 2019 01:21:05 +0000 Subject: [PATCH] Only use --high-entropy-va on x86_64 git-svn-id: https://svn.eduke32.com/eduke32@8054 1a8010ca-5511-0410-912e-c29ae57300e0 --- Common.mak | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Common.mak b/Common.mak index a49376b2e..172ced49b 100644 --- a/Common.mak +++ b/Common.mak @@ -530,11 +530,12 @@ ifeq ($(PLATFORM),WINDOWS) ASFORMAT := win$(BITS) ASFLAGS += -DUNDERSCORES + LINKERFLAGS += -Wl,--enable-auto-import,--dynamicbase,--nxcompat ifneq ($(findstring x86_64,$(COMPILERTARGET)),x86_64) LINKERFLAGS += -Wl,--large-address-aware + else + LINKERFLAGS += -Wl,--high-entropy-va endif - LINKERFLAGS += -Wl,--enable-auto-import - LINKERFLAGS += -Wl,--dynamicbase,--nxcompat LUAJIT_BCOPTS := -o windows ifeq (32,$(BITS))