refactor: hectic C: static-asan
This commit is contained in:
@@ -54,7 +54,7 @@ esac
|
||||
RUN_TESTS=1
|
||||
OPTFLAGS="-O2"
|
||||
CFLAGS="-Wall -Wextra -Werror -pedantic -fsanitize=address -fanalyzer"
|
||||
LDFLAGS="-lhectic"
|
||||
LDFLAGS="-lhectic -static-libasan"
|
||||
STD_FLAGS="-std=c99"
|
||||
COLOR_FLAG=""
|
||||
DEBUG=0
|
||||
|
||||
@@ -11,8 +11,5 @@ PG_CFLAGS += $(shell $(HECTIC_CONFIG) --cflags)
|
||||
PG_LDFLAGS += -Wl,-rpath,$(shell $(HECTIC_CONFIG) --libdir)
|
||||
SHLIB_LINK += $(shell $(HECTIC_CONFIG) --libs)
|
||||
|
||||
PG_CFLAGS += -fsanitize=address
|
||||
PG_LDFLAGS += -fsanitize=address
|
||||
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
include $(PGXS)
|
||||
|
||||
Reference in New Issue
Block a user