From fbbf48fbdf9b1491af0aefc00523a1b5d8bb9349 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sat, 20 Sep 2014 07:43:51 -0400 Subject: [PATCH] Compile tests with -Wno-psabi when using GCC --- testsuite/lib/libffi.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp index dbdd1a2f..5051d317 100644 --- a/testsuite/lib/libffi.exp +++ b/testsuite/lib/libffi.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2003, 2005, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# Copyright (C) 2003, 2005, 2008, 2009, 2010, 2011, 2014 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -280,7 +280,7 @@ proc libffi-dg-runtest { testcases default-extra-flags } { proc run-many-tests { testcases extra_flags } { global using_gcc if { [string match $using_gcc "yes"] } { - set common "-W -Wall" + set common "-W -Wall -Wno-psabi" set optimizations { "-O0" "-O2" "-O3" "-Os" "-O2 -fomit-frame-pointer" } } else { # Assume we are using the vendor compiler.