diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-22 21:56:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-22 21:56:04 +0000 |
commit | 82d0f92ab8b84466ae20ab919c1f9c3577b5cecb (patch) | |
tree | 776015ae6c6a386125b2d39e13b62f91b99548f8 /sub/musl/muslgccmake-buildhost | |
download | lh-bootstrap-82d0f92ab8b84466ae20ab919c1f9c3577b5cecb.tar.xz |
Initial commit
Diffstat (limited to 'sub/musl/muslgccmake-buildhost')
-rwxr-xr-x | sub/musl/muslgccmake-buildhost | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sub/musl/muslgccmake-buildhost b/sub/musl/muslgccmake-buildhost new file mode 100755 index 0000000..703efbd --- /dev/null +++ b/sub/musl/muslgccmake-buildhost @@ -0,0 +1,10 @@ +#!/bin/sh -e + +output="$1" +triple="$2" +xgcc="$3" + +file=$output/build-host/bin/${triple}-muslgcc +echo '#!/bin/sh' > $file +echo "exec $xgcc -isystem $output/rootfs/opt/linux-kernel-headers/include -s \"\$@\"" >> $file +s6-chmod 0755 $file |