Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37735210
en ru br
ALT Linux repos
S:3.18.0-alt7

Group :: Emulators
RPM: kvmtool

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: nonexec-stack.patch
Download


---
 Makefile |    5 +++++
 1 file changed, 5 insertions(+)
--- a/Makefile
+++ b/Makefile
@@ -333,6 +333,11 @@ WARNINGS += -Wwrite-strings
 
 CFLAGS	+= $(WARNINGS)
 
+LD_NOEXECSTACK = -Wl,-z,noexecstack
+
+LIBS_STATOPT += $(LD_NOEXECSTACK)
+LIBS_DYNOPT += $(LD_NOEXECSTACK)
+
 ifneq ($(WERROR),0)
    CFLAGS += -Werror
 endif
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin