Skip to content

Commit

Permalink
Merge pull request #2162 from parona-source/respect-ldflags
Browse files Browse the repository at this point in the history
Respect user LDFLAGS
  • Loading branch information
joseph-henry authored Jul 31, 2024
2 parents 24fb1ce + d6bfb88 commit f176e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ else
override CFLAGS+=-Wall -Wno-deprecated -pthread $(INCLUDES) -DNDEBUG $(DEFS)
CXXFLAGS?=-O3 -fstack-protector
override CXXFLAGS+=-Wall -Wno-deprecated -std=c++17 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
LDFLAGS=-pie -Wl,-z,relro,-z,now
LDFLAGS?=-pie -Wl,-z,relro,-z,now
ZT_CARGO_FLAGS=--release
endif

Expand Down

0 comments on commit f176e25

Please sign in to comment.