You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
736 B

  1. From 5169e5328525af28f6b7de087ece10a9bc0a2282 Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Wed, 2 May 2018 16:06:46 +0200
  4. Subject: [PATCH 4/4] accept external linker flags
  5. ---
  6. make-linux.mk | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/make-linux.mk b/make-linux.mk
  9. index fd164dfa..29ff8813 100644
  10. --- a/make-linux.mk
  11. +++ b/make-linux.mk
  12. @@ -81,7 +81,7 @@ else
  13. override CFLAGS+=-Wall -Wno-deprecated -pthread $(INCLUDES) -DNDEBUG $(DEFS)
  14. CXXFLAGS?=-O3 -fstack-protector
  15. override CXXFLAGS+=-Wall -Wno-deprecated -std=c++11 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
  16. - LDFLAGS=-Wl,-z,relro,-z,now
  17. + LDFLAGS+=-Wl,-z,relro,-z,now
  18. STRIP?=strip
  19. STRIP+=--strip-all
  20. endif
  21. --
  22. 2.22.0