Commit cf7bb33f by Thomas Schwinge Committed by Thomas Schwinge

Make GCC selftests work for *-wrs-vxworks-* targets

	gcc/
	* Makefile.in (SELFTEST_FLAGS): Add -nostdinc.

From-SVN: r241044
parent 194fa9a1
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.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment