diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-22 18:35:53 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-22 18:35:53 +0000 |
commit | d61220e97e3a4fec8c1e43970cb1408f790c2c2e (patch) | |
tree | 58db5b5047300f07e016e266307513ed13166ae6 /system/libffi/fix-testsuite-opts.patch | |
parent | 49139fb1c54a2cc51898496d7ebcfe6f26eaaf0a (diff) | |
download | packages-d61220e97e3a4fec8c1e43970cb1408f790c2c2e.tar.gz packages-d61220e97e3a4fec8c1e43970cb1408f790c2c2e.tar.bz2 packages-d61220e97e3a4fec8c1e43970cb1408f790c2c2e.tar.xz packages-d61220e97e3a4fec8c1e43970cb1408f790c2c2e.zip |
system/libffi: remove PaX crap, fix testsuite on ppc64
Diffstat (limited to 'system/libffi/fix-testsuite-opts.patch')
-rw-r--r-- | system/libffi/fix-testsuite-opts.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 "" |