cc-wrapper: Export env vars for objdump and readelf in setup-hook

Also fix alphabetical order
This commit is contained in:
John Ericson 2017-09-21 01:31:52 -04:00
parent 994cb76850
commit f4cb1e2ffc

View File

@ -139,7 +139,7 @@ export ${role}CC=@named_cc@
export ${role}CXX=@named_cxx@
for cmd in \
ar as nm objcopy ranlib strip strings size ld windres
ar as ld nm objcopy objdump readelf ranlib strip strings size windres
do
if
PATH=$_PATH type -p "@targetPrefix@${cmd}" > /dev/null