summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_osf1_4.0.GNU6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU
index 8407cc6558b..677dca88210 100644
--- a/include/makeinclude/platform_osf1_4.0.GNU
+++ b/include/makeinclude/platform_osf1_4.0.GNU
@@ -45,7 +45,11 @@ ARFLAGS = cruvZ
# When libraries are archived, a hash index is automatically created
# so there is no need for ranlib
RANLIB = @true
-SOFLAGS = -shared -use_ld_input $(ACELIB)
+#### The -hidden [...] -non_hidden business avoids multiply defined
+#### symbols between the shared library and libcxxstd.a. It's the
+#### workaround recommended in PTR 43-4-204.
+SOFLAGS = -hidden /usr/lib/cmplrs/cxx/libcxxstd.a -non_hidden \
+ -shared -use_ld_input $(ACELIB)
SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \
ln $(VSHDIR)$*.o $@