Message ID | 20120918065031.GA1834@atmel.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/testsuite/lib/target-supports-dg.exp b/gcc/testsuite/lib/target-supports-dg.exp index 2f6c4c2..bdf7476 100644 --- a/gcc/testsuite/lib/target-supports-dg.exp +++ b/gcc/testsuite/lib/target-supports-dg.exp @@ -304,6 +304,9 @@ proc check-flags { args } { # If running a subset of the test suite, $TEST_ALWAYS_FLAGS may not exist. catch {append compiler_flags " $TEST_ALWAYS_FLAGS "} set dest [target_info name] + if [board_info $dest exists cflags] { + append compiler_flags "[board_info $dest cflags] " + } if [board_info $dest exists multilib_flags] { append compiler_flags "[board_info $dest multilib_flags] " }