summaryrefslogtreecommitdiff
blob: 3aac40d7604b83ad348621eacdcd470ff0dd2449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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,3 @@
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif