Duplicate CFLAGS in CXXFLAGS removed. Now define DEBUG symbol in debug build.
[mesa.git] / configs / beos
index 1976ad1925765c3a8fb27c747d8ef6cd80e4983a..1e777e47dd1465e258391a1d32f2abeaf4a3ac95 100644 (file)
@@ -42,11 +42,10 @@ ifeq ($(CPU), x86)
 
        ifdef DEBUG
                CFLAGS   += -g -O0
-               CXXFLAGS += -g -O0
                LDFLAGS += -g
+               DEFINES += -DDEBUG
        else
                CFLAGS   += -O3
-               CXXFLAGS += -O3
        endif
 
        GLUT_CFLAGS = -fexceptions