parent
f326b7995c
commit
9bccb95a82
@ -34,5 +34,10 @@ if [ -n "@coreutils@" ]; then
|
|||||||
addToSearchPath PATH @coreutils@/bin
|
addToSearchPath PATH @coreutils@/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$crossConfig" ]; then
|
||||||
export CC=@real_cc@
|
export CC=@real_cc@
|
||||||
export CXX=@real_cxx@
|
export CXX=@real_cxx@
|
||||||
|
else
|
||||||
|
export BUILD_CC=@real_cc@
|
||||||
|
export BUILD_CXX=@real_cxx@
|
||||||
|
fi
|
||||||
|
@ -85,3 +85,6 @@ if test "$NIX_NO_SELF_RPATH" != "1"; then
|
|||||||
export NIX_CROSS_LDFLAGS="-rpath $out/lib64 -rpath-link $out/lib $NIX_CROSS_LDFLAGS"
|
export NIX_CROSS_LDFLAGS="-rpath $out/lib64 -rpath-link $out/lib $NIX_CROSS_LDFLAGS"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export CC=${crossConfig}-gcc
|
||||||
|
export CXX=${crossConfig}-g++
|
||||||
|
Loading…
Reference in New Issue
Block a user