1 # Maintainer: Jens Staal <staal1978@gmail.com>
3 pkgname=cocotron-gcc-svn
6 pkgdesc="GCC patched for Cocotron Obj-C runtime"
9 url="https://github.com/farcaller/cocotron/wiki/Building-GCC"
10 provides=('cocotron-gcc')
11 makedepends=('subversion')
17 # Update the repo, else clone a new one
18 if [ -d cocotron-gcc ]; then
23 svn checkout http://cocotron-tools-gpl3.googlecode.com/svn/trunk/gcc cocotron-gcc
30 ../cocotron-gcc/configure --prefix=$pkgdir/opt/objc --with-gnu-as --with-gnu-ld --without-newlib --disable-multilib \
31 --disable-libssp --disable-nls --disable-libobjc --enable-libffi --enable-objc-gc \
32 --enable-languages=c,objc,c++,obj-c++ --enable-checking=release