summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/cross-gcc.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 2953e39..ada15ae 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -118,10 +118,11 @@ CROSS_GCC_AUTOCONF := \
--enable-long-long \
--enable-libstdcxx-debug \
--enable-profile \
- --enable-checking=release \
\
$(PTXCONF_CROSS_GCC_CONFIG_SHARED) \
- $(PTXCONF_CROSS_GCC_CONFIG_LIBSSP)
+ $(PTXCONF_CROSS_GCC_CONFIG_LIBSSP) \
+ \
+ $(if $(filter 3.%,$(CROSS_GCC_VERSION)),,--enable-checking=release)
$(STATEDIR)/cross-gcc.prepare:
@$(call targetinfo)