[cmake] Use C90/C++98 until C++11 issues are sorted

Orion Poplawski orion at fedoraproject.org
Mon Feb 16 22:02:55 UTC 2015


commit a10ffafd5c7946e4b4bf69e3f23bb5c1203ab7d4
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Feb 16 15:02:44 2015 -0700

    Use C90/C++98 until C++11 issues are sorted

 cmake.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cmake.spec b/cmake.spec
index cf6be9f..d7c288b 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -115,7 +115,7 @@ pushd build
              --%{?with_bootstrap:no-}system-libs \
              --parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \
              --sphinx-man \
-             %{?qt_gui}
+             %{?qt_gui} -- -DCMAKE_C_STANDARD=90 -DCMAKE_CXX_STANDARD=98
 make VERBOSE=1 %{?_smp_mflags}
 
 


More information about the scm-commits mailing list