summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2014-09-20 07:43:51 -0400
committerAnthony Green <green@moxielogic.com>2014-09-20 07:43:51 -0400
commitfbbf48fbdf9b1491af0aefc00523a1b5d8bb9349 (patch)
tree628e8d6e84086cc6591821e99cced3437e9d2675
parentae8d2554c5f192be54dadc9f99a1449b4df1b222 (diff)
downloadlibffi-fbbf48fbdf9b1491af0aefc00523a1b5d8bb9349.tar.gz
Compile tests with -Wno-psabi when using GCC
-rw-r--r--testsuite/lib/libffi.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp
index dbdd1a2..5051d31 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.