Files
Arch-R/packages/toolchain/math/mpc/build
Stephan Raue 2e0d15096d new package:
- add package mpc for upcoming gcc-4.5
2010-04-26 23:52:25 +02:00

25 lines
473 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/install ccache
$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