summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.hpux
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-11-04 16:35:55 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-11-04 16:35:55 +0000
commitc7a794998a4a291e2a234c860170ec76bb1dd176 (patch)
tree648394a88a4c4f55c7c87495dc90d44db4f511f9 /src/makefiles/Makefile.hpux
parent1fdf2edc9d9ef5b1eae5b840fa0cb4287be0fa0d (diff)
downloadpostgresql-c7a794998a4a291e2a234c860170ec76bb1dd176.tar.gz
Separate CFLAGS_SL and CXXFLAGS_SL, to allow building with C and C++
compilers from different providers. (Especially important since the C++ compiler that goes with your favourite C compiler might not work.)
Diffstat (limited to 'src/makefiles/Makefile.hpux')
-rw-r--r--src/makefiles/Makefile.hpux5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux
index a3eb0ec1cd..f76874932e 100644
--- a/src/makefiles/Makefile.hpux
+++ b/src/makefiles/Makefile.hpux
@@ -38,6 +38,11 @@ CFLAGS_SL = -fPIC
else
CFLAGS_SL = +z
endif
+ifeq ($(GXX), yes)
+CXXFLAGS_SL = -fPIC
+else
+CXXFLAGS_SL = +z
+endif
# Rule for building shared libs (currently used only for regression test
# shlib ... should go away, since this is not really enough knowledge)