wrappers: Use clang config files for defaults
This makes these defaults more easy to get picked up in various use cases, when not directly executing a compiler.
This commit is contained in:
1 parent
0ebb52ae0e
commit
e2e9216853
10 files changed
+34
-39
No files matched your search
@@ -123,6 +123,9 @@ fi
|
||||
|
||||
mkdir -p "$PREFIX/bin"
|
||||
cp wrappers/*-wrapper.sh "$PREFIX/bin"
|
||||
for arch in $ARCHS; do
|
||||
cp wrappers/$arch-w64-mingw32.cfg $PREFIX/bin
|
||||
done
|
||||
if [ -n "$HOST" ] && [ -n "$EXEEXT" ]; then
|
||||
# TODO: If building natively on msys, pick up the default HOST value from there.
|
||||
WRAPPER_FLAGS="$WRAPPER_FLAGS -DDEFAULT_TARGET=\"$HOST\""
|
||||
|
||||
Reference in new issue
Block a user