-
-
Save vaibhavsagar/146355aa78e3234b2d929d401a718862 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
wrapCC (pkgs.runCommand "gcc" { | |
src = stdenv.cc.cc; | |
isGNU = true; | |
} '' | |
mkdir -p $out | |
cp -r --no-preserve=mode,ownership $src/* $out | |
cd $out/lib/gcc/x86*/6* | |
cp crtbeginS.o crtbeginT.o | |
'') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment