diff --git a/base/gmp/gmp.conf b/base/gmp/gmp.conf index 902a655fb..781443f33 100644 --- a/base/gmp/gmp.conf +++ b/base/gmp/gmp.conf @@ -19,9 +19,8 @@ if atstage toolchain; then var_remove_regex confopt ' ' '--target=.*' fi -if atstage native; then - var_append confopt ' ' "--enable-cxx" -fi +# at gmp priority in cross stage we do not have a g++ available +atstage cross || var_append extraconfopt ' ' '--enable-cxx' var_append confopt ' ' "--enable-mpfr"