Compile tests with -Wno-psabi when using GCC
authorAnthony Green <green@moxielogic.com>
Sat, 20 Sep 2014 11:43:51 +0000 (07:43 -0400)
committerAnthony Green <green@moxielogic.com>
Sat, 20 Sep 2014 11:43:51 +0000 (07:43 -0400)
testsuite/lib/libffi.exp

index dbdd1a2..5051d31 100644 (file)
@@ -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.