Permalink
Browse files

Turn C++11 back on

After agallagher upgraded to boost 1.48, the known issue went
away.  We're not sure why, but let's turn it on and see if anything else
goes wrong.
  • Loading branch information...
jdelong authored and sgolemon committed Jul 26, 2012
1 parent 59aeaa9 commit f9391d5a12e7b345f887f103f0ff52261c5276d4
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/rules.mk
View
@@ -197,6 +197,11 @@ CPPFLAGS += -MMD
# allowing "and", "or" to be re-defined
CXXFLAGS += -fno-operator-names -ffunction-sections #-std=gnu++0x
+# For now, only enable C++11 in DEBUG builds.
+ifdef DEBUG
+CXXFLAGS += -std=gnu++0x
+endif
+
# Include frame pointers to make it easier to generate callgraphs in oprofile
CPPFLAGS += -fno-omit-frame-pointer $(if $(USE_ICC),,-momit-leaf-frame-pointer)

0 comments on commit f9391d5

Please sign in to comment.