summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-10 00:49:27 +0000
committerkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-10 00:49:27 +0000
commitd1499fc665000be8800f01033bc8515b365e6c1d (patch)
treea366bb4bacb38d6650acb4db08b5c869392d83a0 /include
parent8924156c376bec4482ce4727e52b69f63384d456 (diff)
downloadATCD-d1499fc665000be8800f01033bc8515b365e6c1d.tar.gz
ChangeLogTag: Tue Apr 9 19:48:15 2002 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_osf1_4.x_cxx.GNU12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/makeinclude/platform_osf1_4.x_cxx.GNU b/include/makeinclude/platform_osf1_4.x_cxx.GNU
index ad929ec01d0..1ce286357f5 100644
--- a/include/makeinclude/platform_osf1_4.x_cxx.GNU
+++ b/include/makeinclude/platform_osf1_4.x_cxx.GNU
@@ -118,6 +118,11 @@ CCFLAGS += $(CFLAGS) $(WARNING_FLAGS) $(TEMPLATES_FLAG)
DCFLAGS += -g -O0
DLD = $(CXX)
LD = $(CXX)
+#### 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. It must appear before any
+#### linker commands.
+LDFLAGS = -hidden $(wildcard /usr/lib/libcxxstd.a) -non_hidden
LIBS += $(CFLAGS) -ltli -lrt
MATHLIB = -lm
OCFLAGS += -O4
@@ -134,12 +139,7 @@ TMPINCDIR = cxx_repository
RANLIB = @true
SOFLAGS += -shared $(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. It must appear at (or
-#### very near) the end of the link line.
-LIBS := $(LIBS) \
- -hidden $(wildcard /usr/lib/cmplrs/cxx/libcxxstd.a) -non_hidden
+LIBS := $(LIBS)
SOBUILD = $(RM) $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \
ln $(VSHDIR)$*.o $@
ifeq (0,$(rtti))