summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.openbsd
diff options
context:
space:
mode:
authorPeter Eisentraut2008-09-01 08:50:10 +0000
committerPeter Eisentraut2008-09-01 08:50:10 +0000
commit86ec73b90932dd22e9e6c2333f1322130c4e1690 (patch)
tree7725c66bcb74134d758b965006a4a7fd15c17e07 /src/makefiles/Makefile.openbsd
parentb8f5ea76850ea22bdf21c56bce5da0db3be18f0c (diff)
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.openbsd')
-rw-r--r--src/makefiles/Makefile.openbsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.openbsd b/src/makefiles/Makefile.openbsd
index 24e201836e9..7c6765c6570 100644
--- a/src/makefiles/Makefile.openbsd
+++ b/src/makefiles/Makefile.openbsd
@@ -16,7 +16,7 @@ endif
%.so: %.o
ifdef ELF_SYSTEM
- $(CC) -shared -o $@ $<
+ $(CC) $(CFLAGS) -shared -o $@ $<
else
$(LD) $(LDREL) $(LDOUT) $<.obj -x $<
@echo building shared object $@