refactor: hectic C: static-asan

This commit is contained in:
2025-04-20 13:38:16 +00:00
parent bfbcf5893d
commit 8d3039c8e8
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -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
-3
View File
@@ -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)