Browse Source

Merge pull request #533 from EgorWeders/image-base-remove-patch-1

Removed not recommended --image-base linker param. Closes #530.
pull/510/merge
ValdikSS 8 months ago
committed by GitHub
parent
commit
fb552640b6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Makefile

2
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

Loading…
Cancel
Save