Skip to content

Commit

Permalink
Turn C++11 back on
Browse files Browse the repository at this point in the history
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 28, 2012
1 parent 59aeaa9 commit f9391d5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rules.mk
Expand Up @@ -197,6 +197,11 @@ CPPFLAGS += -MMD
# allowing "and", "or" to be re-defined # allowing "and", "or" to be re-defined
CXXFLAGS += -fno-operator-names -ffunction-sections #-std=gnu++0x 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 # Include frame pointers to make it easier to generate callgraphs in oprofile
CPPFLAGS += -fno-omit-frame-pointer $(if $(USE_ICC),,-momit-leaf-frame-pointer) CPPFLAGS += -fno-omit-frame-pointer $(if $(USE_ICC),,-momit-leaf-frame-pointer)


Expand Down

0 comments on commit f9391d5

Please sign in to comment.