diff options
author | Jiong Wang <jiong.wang@arm.com> | 2017-01-31 12:20:48 +0000 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2017-02-01 12:57:25 +0000 |
commit | ce7903706d30e5fa335dd96eaaab3ae914ff8e64 (patch) | |
tree | 64540ec523603078e41ec34748cbe2de52e5a977 /ld/testsuite | |
parent | 067869b677a9f167e13a7bdb5f5a4d408df9006a (diff) | |
download | gdb-ce7903706d30e5fa335dd96eaaab3ae914ff8e64.zip gdb-ce7903706d30e5fa335dd96eaaab3ae914ff8e64.tar.gz gdb-ce7903706d30e5fa335dd96eaaab3ae914ff8e64.tar.bz2 |
[ld, testsuite] Append $board_cflags in one more place in ld-unique/unique.exp
ld/
* testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
Append $board_cflags to link commands.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-unique/unique.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-unique/unique.exp b/ld/testsuite/ld-unique/unique.exp index f06622f..61c070a 100644 --- a/ld/testsuite/ld-unique/unique.exp +++ b/ld/testsuite/ld-unique/unique.exp @@ -197,7 +197,7 @@ if {![ld_link $ld "tmpdir/libunique_shared.so" "-shared tmpdir/unique_shared.o"] } # Create executable NOT containing unique symbol linked against library. -if {![ld_link $CC "tmpdir/unique_shared_prog" "-Ltmpdir tmpdir/unique_empty.o -Wl,-Bdynamic,-rpath=./tmpdir -lunique_shared"] } { +if {![ld_link "$CC $board_cflags" "tmpdir/unique_shared_prog" "-Ltmpdir tmpdir/unique_empty.o -Wl,-Bdynamic,-rpath=./tmpdir -lunique_shared"] } { fail "Could not link a dynamic executable" set fails [expr $fails + 1] } |