summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.linux
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-09-01 08:50:10 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-09-01 08:50:10 +0000
commit86ec73b90932dd22e9e6c2333f1322130c4e1690 (patch)
tree7725c66bcb74134d758b965006a4a7fd15c17e07 /src/makefiles/Makefile.linux
parentb8f5ea76850ea22bdf21c56bce5da0db3be18f0c (diff)
downloadpostgresql-86ec73b90932dd22e9e6c2333f1322130c4e1690.tar.gz
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.
Diffstat (limited to 'src/makefiles/Makefile.linux')
-rw-r--r--src/makefiles/Makefile.linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.linux b/src/makefiles/Makefile.linux
index 8766d18f61..0fadd27310 100644
--- a/src/makefiles/Makefile.linux
+++ b/src/makefiles/Makefile.linux
@@ -11,6 +11,6 @@ CFLAGS_SL = -fpic
endif
%.so: %.o
- $(CC) -shared -o $@ $<
+ $(CC) $(CFLAGS) -shared -o $@ $<
sqlmansect = 7