mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 05:42:12 +01:00
21 lines
474 B
Diff
21 lines
474 B
Diff
fixed executable stack
|
|
|
|
http://bugs.gentoo.org/115038
|
|
|
|
--- gmp-4.1.4/configure
|
|
+++ gmp-4.1.4/configure
|
|
@@ -21689,6 +21689,13 @@
|
|
fi
|
|
echo "')" >> $gmp_configm4
|
|
echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
|
|
+# Gentoo hack
|
|
+case $host_os in
|
|
+ *linux*)
|
|
+ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4
|
|
+ echo '.previous' >> $gmp_configm4
|
|
+ ;;
|
|
+esac
|
|
|
|
# Create Makefiles
|
|
# FIXME: Upcoming version of autoconf/automake may not like broken lines.
|