Browse Source

Respect user LDFLAGS

* Respect user LDFLAGS instead of replacing them.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
pull/4/head
Alfred Wingate 2 years ago
parent
commit
9ec6c2901c
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
  1. 2
      make-linux.mk

2
make-linux.mk

@ -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

Loading…
Cancel
Save