From 9ec6c2901cefa58cc246108564440dbf66cad178 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sun, 29 Oct 2023 14:11:13 +0200 Subject: [PATCH] Respect user LDFLAGS * Respect user LDFLAGS instead of replacing them. Signed-off-by: Alfred Wingate --- make-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-linux.mk b/make-linux.mk index bfa416aa0..97ff6215e 100644 --- a/make-linux.mk +++ b/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