Description: remove from CFLAGS what gets passed by Debian build system Forwarded: no Origin: vendor Author: gregor herrmann Last-Update: 2014-10-05 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,7 @@ LIBPATH = -L. LDFLAGS += -lz `sh osflags $(TARGETOS) link` $(LIBPATH) -CFLAGS += -std=c99 -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` +CFLAGS += -std=c99 -c -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` $(CPPFLAGS) all: stateos $(CLIENT) $(SERVER) --- a/tests/Makefile +++ b/tests/Makefile @@ -6,7 +6,7 @@ CHECK_PATH = /usr/local LDFLAGS = -L$(CHECK_PATH)/lib `pkg-config check --libs` -lpthread `sh ../src/osflags $(TARGETOS) link` -CFLAGS = -std=c99 -g -Wall -D$(OS) `pkg-config check --cflags` -I../src -I$(CHECK_PATH)/include -pedantic `sh ../src/osflags $(TARGETOS) cflags` +CFLAGS = -std=c99 -D$(OS) `pkg-config check --cflags` -I../src -I$(CHECK_PATH)/include -pedantic `sh ../src/osflags $(TARGETOS) cflags` $(CPPFLAGS) all: $(TEST) @LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)