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 a2cf8bf645d25f18cbc2ed7ad4b9a25725811afd 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 49e14f70..8e766bfb 100644
  10. --- a/make-linux.mk
  11. +++ b/make-linux.mk
  12. @@ -75,7 +75,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.17.0