From ed210cdf44087ae880776281e940d08562f7bc0b Mon Sep 17 00:00:00 2001 From: EgorWeders <157705588+EgorWeders@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:36:36 +0700 Subject: [PATCH] Removed not recommended --image-base linker param Tested only on windows 10 locally and in github actions image --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 986ae23..015490e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,7 +27,7 @@ CFLAGS = -std=c99 -pie -fPIE -pipe -I$(WINDIVERTHEADERS) -L$(WINDIVERTLIBS) \ -Wfloat-equal -Wcast-align -Wsign-conversion \ #-fstack-protector-strong LDFLAGS = -fstack-protector -Wl,-O1,-pie,--dynamicbase,--nxcompat,--sort-common,--as-needed \ --Wl,--image-base,0x140000000 -Wl,--disable-auto-image-base +-Wl,--disable-auto-image-base ifdef BIT64 LDFLAGS += -Wl,--high-entropy-va -Wl,--pic-executable,-e,mainCRTStartup