summaryrefslogtreecommitdiff
path: root/data/iphone-gcc/make.sh
blob: 9d8e4e22116bfdd1bcc7d439b7eaf06cb423352b (plain)
1
2
3
4
5
6
7
8
9
10
11
shopt -s extglob
pkg:extract
mkdir llvm-gcc-bld
cd llvm-gcc-bld
PKG_CONF=../llvm-gcc-4.2/configure pkg:configure \
    --enable-languages="c,c++,objc,obj-c++" \
    --enable-wchar_t="no" \
    --with-gxx-include-dir="/usr/include/c++/4.0.0"
make -j3
pkg:install
pkg: rm -f /usr/lib/libgcc_s.1.dylib