mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
25 lines
473 B
Bash
Executable File
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
|