refactor: hectic C: perfavor

This commit is contained in:
2025-04-20 12:56:42 +00:00
parent 791ff77e14
commit 30778b1955
6 changed files with 29 additions and 10 deletions

View File

@@ -4,14 +4,15 @@ EXTENSION = hel
DATA = $(wildcard *.sql)
HECTIC_CONFIG = hectic-config
PG_CONFIG = pg_config
HECTIC_CONFIG = hectic-config
PG_CFLAGS += $(shell $(HECTIC_CONFIG) --cflags)
PG_LDFLAGS += -Wl,-rpath,$(shell $(HECTIC_CONFIG) --libdir)
SHLIB_LINK += $(shell $(HECTIC_CONFIG) --libs)
CFLAGS += $(shell $(HECTIC_CONFIG) --cflags)
LIBS += $(shell $(HECTIC_CONFIG) --libs)
SHLIB_LINK := $(LIBS)
PG_CFLAGS += -fsanitize=address
PG_LDFLAGS += -fsanitize=address
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)