]>
Commit | Line | Data |
---|---|---|
6212944b | 1 | #!/bin/bash |
6579543e | 2 | |
a5b37447 | 3 | set -e |
1d58df4c | 4 | |
6579543e JF |
5 | flags=() |
6 | ||
7 | sdk=/Developer/SDKs/MacOSX10.4u.sdk | |
8 | if [[ -e $sdk ]]; then | |
9 | flags+=(-mmacosx-version-min=10.4 -isysroot "$sdk") | |
10 | fi | |
11 | ||
12 | g++ -arch ppc -arch i386 -arch x86_64 "${flags[@]}" -o ldid ldid.cpp -I. -x c lookup2.c sha1.c |