Skip to content

Commit

Permalink
Merge pull request #533 from EgorWeders/image-base-remove-patch-1
Browse files Browse the repository at this point in the history
Removed not recommended --image-base linker param. Closes #530.
  • Loading branch information
ValdikSS authored Aug 9, 2024
2 parents dcff838 + ed210cd commit fb55264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb55264

Please sign in to comment.