Removed -ansi build flag.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 20 May 2014 19:51:25 +0000 (21:51 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 20 May 2014 19:51:25 +0000 (21:51 +0200)
Don't print debug output on built with debug symbols this will disturb the
debug session.

config.mk

index 0f66fa2..e55108c 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -40,13 +40,13 @@ LIBFLAGS = $(shell pkg-config --libs $(LIBS))
 
 # normal compiler flags
 CFLAGS  += $(shell pkg-config --cflags $(LIBS))
-CFLAGS  += -Wall -pipe -ansi -std=c99 -pedantic
+CFLAGS  += -Wall -pipe -std=c99 -pedantic
 CFLAGS  += -Wno-overlength-strings
 CFLAGS  += ${CPPFLAGS}
 LDFLAGS += ${LIBFLAGS}
 
 # compiler flags for the debug target
-DFLAGS   += $(CFLAGS) -DDEBUG -ggdb -g
+DFLAGS   += $(CFLAGS) -ggdb -g
 DLDFLAGS += ${LIBFLAGS}
 
 OBJ       = $(patsubst %.c, %.o, $(wildcard src/*.c))