summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-01 15:22:50 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-01 15:22:50 +0000
commitd18d60d9c6c3d27820bc45a26d6d02252894aa44 (patch)
treec56252b52caee826528794d2abdd7a8bbdc965d5 /include
parentdecc76c16d3335f2a2bee8b630cf7aeab1b2a766 (diff)
downloadATCD-d18d60d9c6c3d27820bc45a26d6d02252894aa44.tar.gz
added -hidden [...] -non_hidden magic
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 $@