mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
25 lines
489 B
Bash
Executable File
25 lines
489 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/install ccache
|
|
$SCRIPTS/build gmp
|
|
|
|
setup_toolchain host
|
|
|
|
cd $PKG_BUILD
|
|
|
|
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 \
|
|
--with-gmp-lib="$ROOT/$TOOLCHAIN/lib" \
|
|
--with-gmp-include="$ROOT/$TOOLCHAIN/include" \
|
|
|
|
make
|
|
make install |