mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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
This commit is contained in:
committed by
Janis Johnson
parent
3319ef17d2
commit
3d3bdc6767
@@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
PR target/54592
|
||||
|
||||
@@ -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] "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user