diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2016-10-12 15:09:17 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2016-10-12 15:09:17 +0200 |
commit | cf7bb33f4d9532dc7ea2551acbf888341b8f12ce (patch) | |
tree | 02200298d26c1f357e5865d3769148cb16f116df /gcc | |
parent | 194fa9a173153e4ca8a4b7df082bd1354f2ffaa0 (diff) | |
download | gcc-cf7bb33f4d9532dc7ea2551acbf888341b8f12ce.zip gcc-cf7bb33f4d9532dc7ea2551acbf888341b8f12ce.tar.gz gcc-cf7bb33f4d9532dc7ea2551acbf888341b8f12ce.tar.bz2 |
Make GCC selftests work for *-wrs-vxworks-* targets
gcc/
* Makefile.in (SELFTEST_FLAGS): Add -nostdinc.
From-SVN: r241044
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/Makefile.in | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 003316f..d6880d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2016-10-12 Thomas Schwinge <thomas@codesourcery.com> + * Makefile.in (SELFTEST_FLAGS): Add -nostdinc. + * Makefile.in (SELFTEST_FLAGS): New variable. (s-selftest, selftest-gdb, selftest-valgrind): Use it. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 02d0c45..f1ff782 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1879,7 +1879,9 @@ rest.cross: specs # GCC's selftests. # Specify a dummy input file to placate the driver. -SELFTEST_FLAGS = -x c /dev/null -S -fself-test +# Specify -nostdinc to work around missing WIND_BASE environment variable +# required for *-wrs-vxworks-* targets. +SELFTEST_FLAGS = -nostdinc -x c /dev/null -S -fself-test # Run the selftests during the build once we have a driver and a cc1, # so that self-test failures are caught as early as possible. |