From 5f540eabcc215a364d6545a8fcd4ce866fd35311 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 5 Nov 2012 23:12:38 +1100 Subject: [PATCH] Enable C++ by default if not configured. --- config/gcc-4.6-1.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/gcc-4.6-1.cfg b/config/gcc-4.6-1.cfg index a401aea..d2e1d32 100644 --- a/config/gcc-4.6-1.cfg +++ b/config/gcc-4.6-1.cfg @@ -5,6 +5,13 @@ # newlib, MPFR, MPC, and GMP in a one-tree build configuration. # +# +# Default to C++ on. +# +%ifn %{defined enable_cxx} +%define enable_cxx 1 +%endif + %include %{_configdir}/checks.cfg %ifn %{defined gcc_version_message}