mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-28 08:38:53 +00:00
/devel/gcc-4.4:
- GMP: unconditionnaly build the C++ wrappers and use exceptions -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
This commit is contained in:
parent
17b97a21ba
commit
843a16f70c
@ -22,8 +22,6 @@ do_gmp_extract() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_gmp() {
|
do_gmp() {
|
||||||
local opts
|
|
||||||
local cflags
|
|
||||||
|
|
||||||
mkdir -p "${CT_BUILD_DIR}/build-gmp"
|
mkdir -p "${CT_BUILD_DIR}/build-gmp"
|
||||||
cd "${CT_BUILD_DIR}/build-gmp"
|
cd "${CT_BUILD_DIR}/build-gmp"
|
||||||
@ -32,12 +30,7 @@ do_gmp() {
|
|||||||
|
|
||||||
CT_DoLog EXTRA "Configuring GMP"
|
CT_DoLog EXTRA "Configuring GMP"
|
||||||
|
|
||||||
if [ "${CT_PPL_CLOOG}" = "y" ]; then
|
CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions" \
|
||||||
opts="--enable-cxx"
|
|
||||||
cflags="-fexceptions"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CFLAGS="${CT_CFLAGS_FOR_HOST} ${cflags}" \
|
|
||||||
CT_DoExecLog ALL \
|
CT_DoExecLog ALL \
|
||||||
"${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
|
"${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
|
||||||
--build=${CT_BUILD} \
|
--build=${CT_BUILD} \
|
||||||
@ -47,7 +40,7 @@ do_gmp() {
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-fft \
|
--enable-fft \
|
||||||
--enable-mpbsd \
|
--enable-mpbsd \
|
||||||
${opts}
|
--enable-cxx
|
||||||
|
|
||||||
CT_DoLog EXTRA "Building GMP"
|
CT_DoLog EXTRA "Building GMP"
|
||||||
CT_DoExecLog ALL make ${PARALLELMFLAGS}
|
CT_DoExecLog ALL make ${PARALLELMFLAGS}
|
||||||
|
Loading…
Reference in New Issue
Block a user