summaryrefslogtreecommitdiff
path: root/data/iphone-gcc/make.sh
blob: eaf22c2f90f6648f1a3545718177b4e8b46f59fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
shopt -s extglob
pkg:setup
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
pkg: rm -f /usr/lib/libiberty.a