Files
libffi/gccbug.patch
Richard Biener f32a3fdc9d Accepting request 731700 from home:Andreas_Schwab:Factory
- Update to commit c2a6859
- gccbug.patch: Update check for gccbug target flag
- stdcall.patch: Fix FFI_STDCALL ABI
- libffi-riscv.patch: Removed
- libffi-include-location.patch: Removed

OBS-URL: https://build.opensuse.org/request/show/731700
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=15
2019-09-18 10:13:24 +00:00

20 lines
914 B
Diff

Index: libffi-3.2.1.git505/testsuite/lib/libffi.exp
===================================================================
--- libffi-3.2.1.git505.orig/testsuite/lib/libffi.exp
+++ libffi-3.2.1.git505/testsuite/lib/libffi.exp
@@ -526,12 +526,8 @@ proc run-many-tests { testcases extra_fl
set has_gccbug false;
if { [string match $compiler_vendor "gnu"] \
&& [string match "*MSABI*" $abi] \
- && ( ( [string match "*DGTEST=57 *" $common] \
- && [string match "*call.c*" $testname] ) \
- || ( [string match "*DGTEST=54 *" $common] \
- && [string match "*callback*" $testname] ) \
- || [string match "*DGTEST=55 *" $common] \
- || [string match "*DGTEST=56 *" $common] ) } then {
+ && [string match {*DGTEST=5[456] *} $common] \
+ && [string match "*callback*" $testname] } then {
set has_gccbug true;
}
verbose "Testing $testname, $options" 1