Skip to content

Commit

Permalink
Add CCFLAG -fsanitize=address
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkarnk committed Sep 13, 2024
1 parent a3a764c commit f9b9c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ NATFILES := $(foreach dir,$(NATDIR),$(wildcard $(dir)/*.c))
OBJS := $(patsubst $(NATDIR)/%.c, $(BUILD)/bin/%.o, $(NATFILES))


CCFLAGS := ${INCLUDE_HEADERS} -c -fPIC -g
LDFLAGS := -shared -fPIC -Wl,-soname,libjssl.so
CCFLAGS := ${INCLUDE_HEADERS} -c -fPIC -fsanitize=address -g
LDFLAGS := -shared -fPIC -fsanitize=address -Wl,-soname,libjssl.so
SOLIB := $(BUILD)/bin/libjssl.so

# Vars for compiling the test sources
Expand Down

0 comments on commit f9b9c8f

Please sign in to comment.