blob: 0d7fe081e8d64bb12ab4af0c4d19eb16da489f12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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,10.4,10.5}.dylib
pkg: rm -f /usr/lib/libgcc_s_{ppc64,x86_64}.1.dylib
pkg: rm -f /usr/lib/libiberty.a
|