Commit 7dd7e3e7 authored by gsell's avatar gsell
Browse files

240-build-mithra: lowercas package name, build with -fPIC

parent 0b6c1741
......@@ -4,7 +4,7 @@
#
# https://gmplib.org
#
P=MITHRA
P=mithra
V=${MITHRA_VERSION:-2.0}
trap "otb_exit" EXIT
......@@ -25,7 +25,7 @@ tar xvf "${SRC_FILE}" || exit ${OTB_ERR_UNTAR}
# compile and install
cd "${OTB_SRC_DIR}/$P/$P-$V" || exit ${OTB_ERR_SYSTEM}
make -j ${NJOBS} || exit ${OTB_ERR_MAKE}
CFLAGS='-fPIC' make -e -j ${NJOBS} || exit ${OTB_ERR_MAKE}
make install || exit ${OTB_ERR_INSTALL}
mkdir -p "${OTB_PREFIX}/include/mithra"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment