Skip to content

Commit

Permalink
Removed not recommended --image-base linker param
Browse files Browse the repository at this point in the history
Tested only on windows 10 locally and in github actions image
  • Loading branch information
EgorWeders authored Aug 9, 2024
1 parent dcff838 commit ed210cd
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 ed210cd

Please sign in to comment.