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.

26 lines
795 B

  1. From 14a8fe1f7cdef1f1e0c0842f6fedde154cf4ab57 Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Thu, 12 Apr 2018 17:09:16 +0200
  4. Subject: [PATCH 5/5] remove -pie
  5. this prevents immediate segfault on start
  6. ---
  7. make-linux.mk | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/make-linux.mk b/make-linux.mk
  10. index f5b3d8df..8589e5d6 100644
  11. --- a/make-linux.mk
  12. +++ b/make-linux.mk
  13. @@ -67,7 +67,7 @@ else
  14. override CFLAGS+=-Wall -fPIE -pthread $(INCLUDES) -DNDEBUG $(DEFS)
  15. CXXFLAGS?=-O3 -fstack-protector
  16. override CXXFLAGS+=-Wall -Wno-unused-result -Wreorder -fPIE -std=c++11 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
  17. - override LDFLAGS+=-pie -Wl,-z,relro,-z,now
  18. + override LDFLAGS+=-Wl,-z,relro,-z,now
  19. STRIP?=strip
  20. STRIP+=--strip-all
  21. endif
  22. --
  23. 2.16.3