Files
Arch-R/packages/toolchain/math/ppl/build
Stephan Raue 5ebd56a9ea ppl:
- enable optimizations
2010-04-26 23:55:04 +02:00

28 lines
563 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/install ccache
$SCRIPTS/build gmp
setup_toolchain host
cd $BUILD/$1*
mkdir -p objdir
cd objdir
LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib" \
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--enable-shared \
--disable-static \
--enable-interfaces="c,cxx" \
--with-libgmp-prefix="$ROOT/$TOOLCHAIN" \
--with-libgmpxx-prefix="$ROOT/$TOOLCHAIN" \
make
make install