Last active
March 20, 2018 21:20
-
-
Save Mic92/ae6b9d538dc03598154f846f03dad1ef to your computer and use it in GitHub Desktop.
musl with musl-gcc/musl-clang wrapper
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
(musl.overrideAttrs (old: { | |
configureFlags = (old.configureFlags or []) ++ ["--enable-wrapper=all"]; | |
preFixup = (old.preFixup or "") + '' | |
for i in bin/{musl-gcc,musl-clang,ld.musl-clang}; do | |
moveToOutput $i $dev | |
done | |
moveToOutput lib/musl-gcc.specs $dev | |
substituteInPlace $dev/bin/musl-gcc \ | |
--replace $out/lib/musl-gcc.specs $dev/lib/musl-gcc.specs | |
''; | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment