Files
postgresql/src/makefiles/Makefile.irix
Peter Eisentraut 86ec73b909 Synchronize the shared object build rules in Makefile.port with Makefile.shlib
somewhat by adding CFLAGS where the compiler is used and Makefile.shlib
already used CFLAGS.
2008-09-01 08:50:10 +00:00

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