blob: 56f4604fc7638c63596a298219158fb6d5ad17ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
fixed executable stack as per bug #115038 thanks to Petteri R�ty
--- gmp-4.1.4/configure
+++ gmp-4.1.4/configure
@@ -21689,6 +21689,7 @@
fi
echo "')" >> $gmp_configm4
echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
+cat nostackexec>>$gmp_configm4
# Create Makefiles
# FIXME: Upcoming version of autoconf/automake may not like broken lines.
--- gmp-4.1.4/nostackexec
+++ gmp-4.1.4/nostackexec
@@ -0,0 +1,4 @@
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
|