aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:37:15 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:37:15 +0000
commit2f5f35d766095b6541f01c8df28e5041efca453c (patch)
treecdc2f7c31423309f9d9df4c6bc13b84daf2c1570 /Makefile
parent7f28a8187e5d4f168825ebca4f8a0c21ee82567e (diff)
downloadpamela-2f5f35d766095b6541f01c8df28e5041efca453c.tar.gz
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 94a820f..cd6c7f0 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