about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:36:29 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:36:29 +0000
commitff61788e5ea2b5f33e8b3be649832400b0ce2f25 (patch)
tree75529e456998209c76b357d3ffb95bc16db875f8 /Makefile
parent05050c247c61f7e7688122a370540fc28838b66a (diff)
downloadexecline-ff61788e5ea2b5f33e8b3be649832400b0ce2f25.tar.gz
execline-ff61788e5ea2b5f33e8b3be649832400b0ce2f25.tar.xz
execline-ff61788e5ea2b5f33e8b3be649832400b0ce2f25.zip
Real noexecstack fix: make strip less greedy
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b35c84..d961d7f 100644
--- a/Makefile
+++ b/Makefile
@@ -75,10 +75,10 @@ tgz: distclean
 
 strip: $(ALL_LIBS) $(ALL_BINS)
 ifneq ($(strip $(STATIC_LIBS)),)
-	exec $(STRIP) -x -R .note -R .comment -R .note.GNU-stack $(STATIC_LIBS)
+	exec $(STRIP) -x -R .note -R .comment $(STATIC_LIBS)
 endif
 ifneq ($(strip $(ALL_BINS)$(SHARED_LIBS)),)
-	exec $(STRIP) -R .note -R .comment -R .note.GNU-stack $(ALL_BINS) $(SHARED_LIBS)
+	exec $(STRIP) -R .note -R .comment $(ALL_BINS) $(SHARED_LIBS)
 endif
 
 install: install-dynlib install-libexec install-bin install-lib install-include