summaryrefslogtreecommitdiff
path: root/system/libffi/fix-testsuite-opts.patch
blob: b3d08b4af020701ef6a320a89bfa8cce65ce0d83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 ""