[ld, testsuite] Honor cflags when GCC used as linker driver
authorJiong Wang <jiong.wang@arm.com>
Mon, 23 Jan 2017 09:59:10 +0000 (09:59 +0000)
committerJiong Wang <jiong.wang@arm.com>
Mon, 23 Jan 2017 09:59:10 +0000 (09:59 +0000)
commit9966f7eece39ced8a09c190616b5b328bf97bfe5
tree1b0f298f3af6a9e35d8e794d21d6578c5bfc7fd0
parentdcd310a08c9ab601b9dc883e706371f1232cdfef
[ld, testsuite] Honor cflags when GCC used as linker driver

ld/
* testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
board_cflags as gcc is used as linker driver.
* testsuite/ld-unique/unique.exp: Likewise
ld/ChangeLog
ld/testsuite/ld-unique/unique.exp
ld/testsuite/lib/ld-lib.exp