From f682ca49906460dbb3540e86b3b8fa88c1401551 Mon Sep 17 00:00:00 2001 From: lizy <821610729@qq.com> Date: Tue, 27 Aug 2024 18:46:26 +0800 Subject: [PATCH] adding noexecstack flag #53 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index b34437895..ce27558ac 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@ lib_LTLIBRARIES = libsigar.la -libsigar_la_LDFLAGS = $(SIGAR_LIBS) +libsigar_la_LDFLAGS = $(SIGAR_LIBS) -Wl,-z,noexecstack libsigar_la_LIBADD = $(top_builddir)/src/os/@SRC_OS@/libsigar_os.la