mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
17 lines
237 B
Bash
Executable File
17 lines
237 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
export LC_ALL="C"
|
|
|
|
which clang 2>&1 1>/dev/null || exit 1
|
|
|
|
x=`clang -target i386-apple-darwin9 2>&1`
|
|
|
|
case "$x" in
|
|
*i386-apple-darwin9*)
|
|
echo "-ccc-host-triple"
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
echo "-target"
|