Commit bfe56eac authored by denis's avatar denis

do not build with -O2 when using debug as target --> impossible to debug

parent f7c36c61
Pipeline #11472307 passed with stage
in 2 minutes and 33 seconds
......@@ -13,6 +13,8 @@ LDFLAGS=-Wall -lstdc++
all:ichinscratchy
debug: CFLAGS := $(filter-out -O2, $(CFLAGS))
debug: CCFLAGS:= $(filter-out -O2, $(CCFLAGS))
debug: CFLAGS += -DDEBUG -g -O0
debug: CCFLAGS += -DDEBUG -g -O0
debug: ichinscratchy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment