From d61220e97e3a4fec8c1e43970cb1408f790c2c2e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 22 Jul 2019 18:35:53 +0000 Subject: system/libffi: remove PaX crap, fix testsuite on ppc64 --- system/libffi/fix-testsuite-opts.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 system/libffi/fix-testsuite-opts.patch (limited to 'system/libffi/fix-testsuite-opts.patch') diff --git a/system/libffi/fix-testsuite-opts.patch b/system/libffi/fix-testsuite-opts.patch new file mode 100644 index 000000000..b3d08b4af --- /dev/null +++ b/system/libffi/fix-testsuite-opts.patch @@ -0,0 +1,11 @@ +--- libffi-3.2.1/testsuite/lib/libffi.old 2014-11-08 06:47:24.000000000 -0600 ++++ libffi-3.2.1/testsuite/lib/libffi.exp 2019-07-22 13:29:32.086840387 -0500 +@@ -281,7 +281,7 @@ + global using_gcc + if { [string match $using_gcc "yes"] } { + set common "-W -Wall -Wno-psabi" +- set optimizations { "-O0" "-O2" "-O3" "-Os" "-O2 -fomit-frame-pointer" } ++ set optimizations { "-O0" "-O2 -fno-inline-small-functions" "-O3 -fno-inline-small-functions" "-Os" "-O2 -fno-inline-small-functions -fomit-frame-pointer" } + } else { + # Assume we are using the vendor compiler. + set common "" -- cgit v1.2.3-70-g09d2