Stop manually setting the sysroot
Since clang SVN r330244, the one next to clang is preferred, even if a similar mingw gcc exists in the path.
This commit is contained in:
1 parent
6b5651a4a3
commit
61eaf3a0de
1 file changed
+1
-2
@@ -13,7 +13,6 @@ g++)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
ARCH=$(echo $TARGET | sed 's/-.*//')
|
ARCH=$(echo $TARGET | sed 's/-.*//')
|
||||||
SYSROOT="$(cd "$DIR"/../$TARGET && pwd)"
|
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
i686)
|
i686)
|
||||||
# Dwarf is the default for i686, but currently there's an issue
|
# Dwarf is the default for i686, but currently there's an issue
|
||||||
@@ -39,4 +38,4 @@ esac
|
|||||||
if [ -n "$CCACHE" ]; then
|
if [ -n "$CCACHE" ]; then
|
||||||
CCACHE=ccache
|
CCACHE=ccache
|
||||||
fi
|
fi
|
||||||
$CCACHE $DIR/$EXE -target $TARGET -rtlib=compiler-rt -stdlib=libc++ -fuse-ld=lld --sysroot="$SYSROOT" $ARCH_FLAGS -Qunused-arguments "$@"
|
$CCACHE $DIR/$EXE -target $TARGET -rtlib=compiler-rt -stdlib=libc++ -fuse-ld=lld $ARCH_FLAGS -Qunused-arguments "$@"
|
||||||
Reference in new issue
Block a user