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:
parent
994cb76850
commit
f4cb1e2ffc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue