Merge pull request #28521 from obsidiansystems/cc-wrapper-dead-code

cc-wrapper: Remove dead code
This commit is contained in:
Daniel Peebles 2017-08-24 16:05:51 -04:00 committed by GitHub
commit 4f7f48fb1a

View File

@ -217,13 +217,6 @@ stdenv.mkDerivation {
echo "$gnatCFlags" > $out/nix-support/gnat-cflags
''}
if [ -e $ccPath/clang ]; then
# Need files like crtbegin.o from gcc
# It's unclear if these will ever be provided by an LLVM project
ccCFlags="$ccCFlags -B$basePath"
ccCFlags="$ccCFlags -isystem$cc/lib/clang/$ccVersion/include"
fi
echo "$ccLDFlags" > $out/nix-support/cc-ldflags
echo "$ccCFlags" > $out/nix-support/cc-cflags