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

14 lines
291 B
Diff
Raw Normal View History

Index: mpn/m4-ccas
===================================================================
--- mpn/m4-ccas.orig
+++ mpn/m4-ccas
@@ -100,6 +100,8 @@ fi
echo "$M4 $DEFS $ASM >$TMP"
$M4 $DEFS $ASM >$TMP || exit
+echo '.section .note.GNU-stack,"",%progbits' >> $TMP
+
echo "$CC"
$CC || exit