Created
May 11, 2015 21:04
-
-
Save wrl/bf7e17299b03e4f3e0e5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/dash | |
path=$(readlink -f "$(which "$0")") | |
prefix=${path%-*}- | |
program=${0##*-} | |
default_cflags="-isysroot /home/will/macosx_sdks/SDKs/MacOSX10.8.sdk" | |
$program -target x86_64-apple-darwin -B "$prefix" $default_cflags $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment