diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -9,11 +9,14 @@ CFLAGS += -Wall ifeq "$(build)" "debug" CFLAGS += -pipe -g -DDEBUG +else ifeq "$(build)" "release" +CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer +else ifeq "$(build)" "sanitize" +CFLAGS += -pipe -g -DDEBUG -fsanitize=address -fno-omit-frame-pointer +LDFLAGS += -fsanitize=address else ifeq "$(build)" "profile" CFLAGS += -pipe -O2 -DNDEBUG -pg LDFLAGS += -pg -else ifeq "$(build)" "release" -CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer else ifeq "$(build)" "coverage" CFLAGS += -pipe -g -DDEBUG -pg -fprofile-arcs -ftest-coverage LIBS += -lgcov |