Duplicate CFLAGS in CXXFLAGS removed. Now define DEBUG symbol in debug build.
authorPhilippe Houdoin <phoudoin@freedesktop.org>
Tue, 24 Aug 2004 08:17:08 +0000 (08:17 +0000)
committerPhilippe Houdoin <phoudoin@freedesktop.org>
Tue, 24 Aug 2004 08:17:08 +0000 (08:17 +0000)
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