You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
629 B
24 lines
629 B
4 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
./configure \
|
||
|
--prefix=${INSTALL_DIR} \
|
||
|
--host=${TARGET} \
|
||
|
--with-sysroot=${SYSROOT_PATH} \
|
||
|
--disable-shared \
|
||
|
--enable-static \
|
||
|
--disable-dependency-tracking \
|
||
|
--disable-fast-install \
|
||
|
--disable-debug \
|
||
|
--disable-deprecated \
|
||
|
--with-pic \
|
||
|
CC=${FAM_CC} \
|
||
|
AR=${FAM_AR} \
|
||
|
RANLIB=${FAM_RANLIB} || exit 1
|
||
|
|
||
|
${MAKE_EXECUTABLE} clean
|
||
|
# Compiling only the static library. Just 'make' will build an executable and docs as well.
|
||
|
${MAKE_EXECUTABLE} -j${HOST_NPROC} -C lib
|
||
|
${MAKE_EXECUTABLE} install -C lib
|
||
|
# Installing the .pc file
|
||
|
${MAKE_EXECUTABLE} install-data-am
|