refactor: hectic C: perfavor
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <fmgr.h>
|
||||
#include <utils/builtins.h>
|
||||
#include <utils/json.h>
|
||||
#include <hectic.h>
|
||||
#include "hectic.h"
|
||||
#include <string.h>
|
||||
|
||||
#ifdef PG_MODULE_MAGIC
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user