Explorar el Código

Respect user LDFLAGS

* Respect user LDFLAGS instead of replacing them.

Signed-off-by: Alfred Wingate <[email protected]>
Alfred Wingate hace 2 años
padre
commit
9ec6c2901c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      make-linux.mk

+ 1 - 1
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