From 933e8a9c9eb768969bbd40ea67af56de7105da31 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 14 Apr 2007 02:20:06 +0000 Subject: [PATCH] * changed gmp to only enable cxx support when on "native" stages git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20675 10447126-35f2-4685-b0cf-6dd780d3921f --- base/gmp/gmp.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/base/gmp/gmp.conf b/base/gmp/gmp.conf index 01e2f63b8..27ba4f8f8 100644 --- a/base/gmp/gmp.conf +++ b/base/gmp/gmp.conf @@ -1,7 +1,8 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- +# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# T2 SDE: package/.../gmp/gmp.conf +# Filename: package/.../gmp/gmp.conf +# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -10,7 +11,11 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. -# --- T2-COPYRIGHT-NOTE-END --- +# --- SDE-COPYRIGHT-NOTE-END --- -var_append confopt ' ' "--enable-cxx --enable-mpfr" +if atstage native; then + var_append confopt ' ' "--enable-cxx" +fi + +var_append confopt ' ' "--enable-mpfr"