From: Tom Lane Date: Tue, 28 Nov 2006 05:47:16 +0000 (+0000) Subject: Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. X-Git-Tag: REL8_1_6~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6db9d267276cb596422c110f2d4e50dffd1a4a45;p=thirdparty%2Fpostgresql.git Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. Arguably we should do this on *all* platforms, but for the moment I'll be conservative and just do it where it's demonstrably needed. Per report from Brian Wipf. --- diff --git a/src/makefiles/Makefile.darwin b/src/makefiles/Makefile.darwin index 9e254ee04b0..9f761d4b4bb 100644 --- a/src/makefiles/Makefile.darwin +++ b/src/makefiles/Makefile.darwin @@ -13,6 +13,6 @@ endif # Rule for building shared libs (currently used only for regression test # shlib ... should go away, since this is not really enough knowledge) %.so: %.o - $(CC) -bundle -o $@ $< $(BE_DLLLIBS) + $(CC) $(CFLAGS) -bundle -o $@ $< $(BE_DLLLIBS) sqlmansect = 7