depends: add debug/release flags for linux/osx/win

Linux and mingw enable libstdc++ debugging for extra runtime checks. OSX
doesn't play nice, so don't enable it there.
This commit is contained in:
Cory Fields committed 2014-09-25 14:56:26 -04:00
1 parent 2027ad30e7
commit f397304002
3 files changed
+27 -3

No files matched your search

+9 -1
View File
@@ -1,2 +1,10 @@
mingw32_CFLAGS=-pipe -O2
mingw32_CFLAGS=-pipe
mingw32_CXXFLAGS=$(mingw32_CFLAGS)
mingw32_release_CFLAGS=-O2
mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS)
mingw32_debug_CFLAGS=-O1
mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS)
mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC