From 01af353a94306e8adff25ee5e195573415d8344f Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Mon, 2 Aug 2021 11:49:31 +1100
Subject: [PATCH] fix noexecstack

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index ae0b0578..6151e7d9 100644
--- a/Makefile
+++ b/Makefile
@@ -87,10 +87,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 install-data install-conf install-html install-man
-- 
GitLab