Commit 3d3bdc67 by Senthil Kumar Selvaraj Committed by Janis Johnson

target-supports-dg.exp (check-flags): Add cflags from board config to compiler_flags.

2012-09-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	* lib/target-supports-dg.exp (check-flags): Add cflags from board
	config to compiler_flags.

From-SVN: r191444
parent 3319ef17
2012-09-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* lib/target-supports-dg.exp (check-flags): Add cflags from board
config to compiler_flags.
2012-09-18 Jakub Jelinek <jakub@redhat.com> 2012-09-18 Jakub Jelinek <jakub@redhat.com>
PR target/54592 PR target/54592
......
...@@ -304,6 +304,9 @@ proc check-flags { args } { ...@@ -304,6 +304,9 @@ proc check-flags { args } {
# If running a subset of the test suite, $TEST_ALWAYS_FLAGS may not exist. # If running a subset of the test suite, $TEST_ALWAYS_FLAGS may not exist.
catch {append compiler_flags " $TEST_ALWAYS_FLAGS "} catch {append compiler_flags " $TEST_ALWAYS_FLAGS "}
set dest [target_info name] 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] { if [board_info $dest exists multilib_flags] {
append compiler_flags "[board_info $dest multilib_flags] " append compiler_flags "[board_info $dest multilib_flags] "
} }
......
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