Skip to content

Commit cdc3fcf

Browse files
committed
compile with optimization and without sanitizers
1 parent 49107e5 commit cdc3fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ OBJS := $(SRCS:%=$(BUILD_DIR)/%.o)
77
DEPS := $(OBJS:%.o=%.d)
88
INC_DIRS := $(SRC_DIRS)
99
INC_FLAGS := $(addprefix -I,$(INC_DIRS))
10-
CFLAGS := $(INC_FLAGS) -MMD -MP -g
11-
LDFLAGS := -fsanitize=leak -fsanitize=address
10+
CFLAGS := $(INC_FLAGS) -MMD -MP -O2
11+
LDFLAGS :=
1212

1313
.PHONY: all
1414
build: $(TARGET_EXEC)

0 commit comments

Comments
 (0)