1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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