Files
Arch-R/packages/toolchain/math/mpc/build
Stephan Raue f9f45e6cc4 mpc: dont depend on 'ccache'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-11 14:44:11 +01:00

24 lines
452 B
Bash
Executable File

#!/bin/sh
. config/options $1
$SCRIPTS/build gmp
$SCRIPTS/build mpfr
setup_toolchain host
cd $PKG_BUILD
mkdir -p objdir
cd objdir
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--enable-shared \
--disable-static \
--with-gmp="$ROOT/$TOOLCHAIN" \
--with-mpfr="$ROOT/$TOOLCHAIN" \
make
make install