summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:36:50 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:36:50 +0000
commit5d7541febd66db3cf72f7e2e23e8837d05ad150d (patch)
treeadc6c1540c261519ea1a1dd6735787daf5f0f375 /Makefile
parenta2803fb6353b807580c3c4b1b80bb8652b5df6a9 (diff)
downloads6-portable-utils-5d7541febd66db3cf72f7e2e23e8837d05ad150d.tar.xz
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