cc-wrapper: Pull variable mangler into utils.sh

In preparation for splitting out binutils-wrapper
This commit is contained in:
John Ericson
2017-09-01 11:44:54 -04:00
parent 94c0267fc1
commit 1f5807d760
5 changed files with 24 additions and 16 deletions
@@ -13,12 +13,12 @@ if [ -n "@coreutils_bin@" ]; then
PATH="@coreutils_bin@/bin"
fi
source @out@/nix-support/utils.sh
if [ -z "${NIX_@infixSalt@_GNAT_WRAPPER_FLAGS_SET:-}" ]; then
source @out@/nix-support/add-flags.sh
fi
source @out@/nix-support/utils.sh
# Figure out if linker flags should be passed. GCC prints annoying
# warnings when they are not needed.