test: Fix -static issue
authorJohn Dowdal <jdowdal@ti.com>
Fri, 14 Nov 2014 19:49:51 +0000 (14:49 -0500)
committerJohn Dowdal <jdowdal@ti.com>
Fri, 14 Nov 2014 19:49:51 +0000 (14:49 -0500)
commiteaec13985d3ed838d1a2d6beea6e8d6268e50c52
treeeed72e8e685513acb8abd6724580d9de5b5c6ad3
parent09e2cdbdbad06a05fe144e5b19e4428b0c2c0f85
test: Fix -static issue

Wrapping libraries with '-static -Wl,Bdynamic' is not a portable way,
because -static is passed to both compiler and linker, while -Bdynamic
is passed to linker only. On some toolchains it creates dynamically
linked binary which doesn't have dynamic linker in it.

Better to pass -static only to linker with '-Wl,-static -Wl,-Bdynamic'

Change-Id: I38300cf2ff115bf1681684130e1e49dfb290989e
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Taras Kondratiuk <taras@ti.com>
test/armv7/linux/build/makefile