summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_osf1_4.0.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-15 14:37:14 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-15 14:37:14 +0000
commit117e1a02bba9b8aa133563d69e26f1c4877d3714 (patch)
tree841065be9cd2812f64b3a05c19b98dc9a1f2d923 /include/makeinclude/platform_osf1_4.0.GNU
parent148cb87564c106cecaafc6d329d9cecf7cba5fa7 (diff)
downloadATCD-117e1a02bba9b8aa133563d69e26f1c4877d3714.tar.gz
minor cleanup: added -use_ld_input to SOFLAGS
Diffstat (limited to 'include/makeinclude/platform_osf1_4.0.GNU')
-rw-r--r--include/makeinclude/platform_osf1_4.0.GNU29
1 files changed, 22 insertions, 7 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU
index 7a663669bbd..03de216dc38 100644
--- a/include/makeinclude/platform_osf1_4.0.GNU
+++ b/include/makeinclude/platform_osf1_4.0.GNU
@@ -7,17 +7,32 @@ debug = 1
CC = cxx
CXX = $(CC)
-CFLAGS += -pthread -ptr ptrepository
-CCFLAGS += $(CFLAGS) -w0
-DCFLAGS += -g
+CFLAGS +=
+
+#### These flags can only be used with cxx Version 6.0 and later.
+# WARNING_FLAGS +=
+# 9: nested comment not allowed, but there's one in /usr/include/pdsc.h
+# 174: expr_has_no_effect
+# 193: zero used for undefined preprocessing identifier
+# 236: controlling expression is constant
+# 340: value copied to temporary, reference to temporary used
+# 401: base_class_with_nonvirtual_dtor
+# 550: set_but_not_used
+# 835: unreferenced_function_param
+# WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag \
+# -msg_disable 9,174,193,236,340,401,550,835
+
+CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS)
+DCFLAGS += -g -O0
DLD = $(CXX)
LD = $(CXX)
LIBS += -pthread -ltli -lrt -ptr ptrepository
+OFLAGS += -O4
PIC =
-ARFLAGS = ruvZ
+ARFLAGS = cruvZ
# When libraries are archived, a hash index is automatically created
# so there is no need for ranlib
RANLIB = /usr/bin/true
-SOFLAGS = -shared
-SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
- rm -f $(VSHDIR)$*.so ; ln $(VSHDIR)$*.o $(VSHDIR)$*.so
+SOFLAGS = -shared -use_ld_input
+SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \
+ ln $(VSHDIR)$*.o $@