SHA256
1
0
forked from pool/gmp
gmp/gmp-noexec.diff

16 lines
357 B
Diff

--- mpn/m4-ccas.xx 2007-01-13 19:33:32.000000000 +0100
+++ mpn/m4-ccas 2007-01-13 19:34:19.000000000 +0100
@@ -88,8 +88,11 @@
CC="$CC -o $BASENAME.o"
fi
+echo '.section .note.GNU-stack,"",@progbits' > $TMP
+echo '.previous' >> $TMP
+
echo "$M4 $DEFS $ASM >$TMP"
-$M4 $DEFS $ASM >$TMP || exit
+$M4 $DEFS $ASM >>$TMP || exit
echo "$CC"
$CC || exit