repo/core/gmp/build
Muhammad Herdiansyah 2ab5ebb27f gmp: add enable-fat
2019-07-13 16:16:44 +07:00

19 lines
328 B
Bash
Executable File

#!/bin/sh -e
cp -v configfsf.guess config.guess
cp -v configfsf.sub config.sub
./configure \
--prefix=/usr \
--localstatedir=/var/state/gmp \
--build="$(gcc -dumpmachine)" \
--enable-cxx \
--enable-fat \
--with-pic
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"