diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-09 23:37:09 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-09 23:37:09 +0000 |
commit | 1bf9843c221d22598562c6dac65b74bea07e8ea4 (patch) | |
tree | addd381f9e79f15c9b245c893c2f936a1fa9353d | |
parent | 301470c6b3e06203c30ac3ec8bb54c2f7879d4c1 (diff) | |
download | bcnm-1bf9843c221d22598562c6dac65b74bea07e8ea4.tar.gz bcnm-1bf9843c221d22598562c6dac65b74bea07e8ea4.tar.xz bcnm-1bf9843c221d22598562c6dac65b74bea07e8ea4.zip |
Real noexecstack fix: make strip less greedy
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | configure | 1 |
2 files changed, 2 insertions, 3 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 diff --git a/configure b/configure index f4cc899..2059760 100755 --- a/configure +++ b/configure @@ -345,7 +345,6 @@ tryflag CFLAGS_AUTO -fdata-sections tryldflag LDFLAGS_AUTO -Wl,--sort-section=alignment tryldflag LDFLAGS_AUTO -Wl,--sort-common -tryldflag LDFLAGS_AUTO -Wl,-z,noexecstack CPPFLAGS_AUTO="${CPPFLAGS_AUTO}${addincpath}" |