summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:36:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-09 23:36:25 +0000
commitbcc8db3f3648f5e43a8a9b37c10b71814f90afc2 (patch)
tree17b568c16b63eca38ae5be225aebfd9adf2ad3eb /Makefile
parent1b987c58b1924e8fb9de3b7651d3bb9e24797a33 (diff)
downloadnsss-bcc8db3f3648f5e43a8a9b37c10b71814f90afc2.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 68599cb..d6dc278 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