mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
new package:
- add package mpc for upcoming gcc-4.5
This commit is contained in:
parent
f6a2919a6b
commit
2e0d15096d
24
packages/toolchain/math/mpc/build
Executable file
24
packages/toolchain/math/mpc/build
Executable file
@ -0,0 +1,24 @@
|
||||
#!/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
|
1
packages/toolchain/math/mpc/url
Normal file
1
packages/toolchain/math/mpc/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.multiprecision.org/mpc/download/mpc-0.8.1.tar.gz
|
Loading…
x
Reference in New Issue
Block a user