Skip to content

Commit

Permalink
Fix test and test-dbg compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-lisowski committed Jun 20, 2024
1 parent 750ad20 commit 860264a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ TEST_CC_FLAGS:=\
-L$(DIR_LIB)/swicc/build \
-L$(DIR_BUILD) \
-lswicc \
-fsanitize=address \
$(ARG)

all: main test
Expand All @@ -65,7 +64,7 @@ main-dbg: main
test: $(DIR_BUILD)/$(TEST_NAME).$(EXT_BIN)
test-dbg: MAIN_SWICC_TARGET:=main-dbg
test-dbg: MAIN_SWICC_ARG+=-fsanitize=address
test-dbg: TEST_CC_FLAGS+=-g -DDEBUG
test-dbg: TEST_CC_FLAGS+=-g -DDEBUG -fsanitize=address
test-dbg: test
.PHONY: test test-dbg

Expand Down

0 comments on commit 860264a

Please sign in to comment.