CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0 -ggdb -rdynamic -MD -MP
else
- CFLAGS += -O2 -fno-strict-aliasing
+ CFLAGS += -O2
endif
build: build-stamp