]> granicus.if.org Git - postgresql/commitdiff
Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Nov 2006 05:45:43 +0000 (05:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Nov 2006 05:45:43 +0000 (05:45 +0000)
Arguably we should do this on *all* platforms, but for the moment Ill

src/makefiles/Makefile.darwin

index 9e254ee04b068ef592e9c2df8e609857c0e1ee30..9f761d4b4bb0f27b38eedfc1a0f3ef72dc448fbf 100644 (file)
@@ -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