Commit fe0e4a8a authored by Tiago Peixoto's avatar Tiago Peixoto

configure.ac: Move -D flags to CPPFLAGS

parent 49714e7f
Pipeline #280 passed with stage
in 481 minutes and 55 seconds
......@@ -55,14 +55,14 @@ AC_ARG_ENABLE([debug],
[CXXFLAGS="-g ${CXXFLAGS}"]
[AC_MSG_RESULT(yes)]
else
[CXXFLAGS="-DNDEBUG ${CXXFLAGS}"]
[CPPFLAGS="-DNDEBUG ${CPPFLAGS}"]
[AC_MSG_RESULT(no)]
fi,
[CXXFLAGS="-DNDEBUG ${CXXFLAGS}"]
[CPPFLAGS="-DNDEBUG ${CPPFLAGS}"]
[AC_MSG_RESULT(no)])
dnl set template depth
[CXXFLAGS="-ftemplate-depth-250 ${CXXFLAGS}"]
[CXXFLAGS="-ftemplate-depth-250 ${CXXFLAGS}"]
dnl disable deprecation warning, to silence some harmless BGL-related warnings
[CXXFLAGS="-Wno-deprecated ${CXXFLAGS}"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment