From dac5b63c05fd02914d2e9aa58bb2b79bab58fe5f Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Tue, 20 May 2014 21:51:25 +0200 Subject: [PATCH] Removed -ansi build flag. Don't print debug output on built with debug symbols this will disturb the debug session. --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index 0f66fa2..e55108c 100644 --- 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)) -- 2.20.1