mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-21 22:07:01 +08:00
somewhat by adding CFLAGS where the compiler is used and Makefile.shlib already used CFLAGS.
19 lines
295 B
Makefile
19 lines
295 B
Makefile
AROPT = crs
|
|
rpath = -Wl,-rpath,'$(rpathdir)'
|
|
|
|
DLSUFFIX = .so
|
|
# PIC is default
|
|
CFLAGS_SL =
|
|
|
|
%.so: %.o
|
|
$(CC) $(CFLAGS) -shared -o $@ $<
|
|
|
|
override CPPFLAGS += -U_NO_XOPEN4
|
|
|
|
ifneq ($(GCC), yes)
|
|
CFLAGS += -woff 1164,1171,1185,1195,1552
|
|
endif
|
|
LDFLAGS += -Wl,-woff,15 -Wl,-woff,84
|
|
|
|
sqlmansect = 5sql
|