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