From: Daniel Carl Date: Tue, 20 May 2014 19:51:25 +0000 (+0200) Subject: Removed -ansi build flag. X-Git-Url: https://git.owens.tech/projects.html/projects.html/git?a=commitdiff_plain;h=dac5b63c05fd02914d2e9aa58bb2b79bab58fe5f;p=vimb.git Removed -ansi build flag. Don't print debug output on built with debug symbols this will disturb the debug session. --- 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))