From db0eeb9fd5212ceff4935c3942f2bc85475bf28c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 9 Apr 2021 23:36:42 +0000 Subject: Real noexecstack fix: make strip less greedy --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9dd4ab1..2147010 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 -- cgit v1.2.3