summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-21 13:04:07 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-21 13:04:07 +0000
commitf99b9f4fe63f78d5853288de8878a458063c5f8d (patch)
tree177ee39052c67452e372529ef8807ddda1ad9e92 /include/makeinclude
parent08e39b8cd9ca13c0c30cd12ac257fd479e515406 (diff)
downloadATCD-f99b9f4fe63f78d5853288de8878a458063c5f8d.tar.gz
ChangeLogTag: Thu Jun 21 08:00:01 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/platform_aix_ibm.GNU10
-rw-r--r--include/makeinclude/rules.lib.GNU1
2 files changed, 10 insertions, 1 deletions
diff --git a/include/makeinclude/platform_aix_ibm.GNU b/include/makeinclude/platform_aix_ibm.GNU
index a2cd0f1ba36..c1c4493beb8 100644
--- a/include/makeinclude/platform_aix_ibm.GNU
+++ b/include/makeinclude/platform_aix_ibm.GNU
@@ -24,6 +24,9 @@ endif
ifeq (,$(threads))
threads = 1
endif
+ifeq (,$(buildbits))
+ buildbits = 32
+endif
# First, find out which compiler we're building with. The settings we
# use for compiling, as well as how to build shared libraries, depend on
@@ -93,9 +96,14 @@ ifeq ($(XLCVERSION),0x0306)
rtti = 0
else
ifeq ($(XLCVERSION),0x0500)
- CCFLAGS += -qflag=w:w
+ CCFLAGS += -qflag=w:w -qsuppress=1540-1102:1500-010
DLD = $(CXX) -qmkshrobj
SOFLAGS = $(CCFLAGS) $(CPPFLAGS) $(INCLDIRS)
+ ifeq ($(buildbits),64)
+ DLD += -q64
+ CCFLAGS += -q64
+ ARFLAGS += -X 64
+ endif
else
CXX = echo "Unrecognized compiler version $(XLCVERSION)\n"
endif
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU
index ab57d5df40f..8ca819331c5 100644
--- a/include/makeinclude/rules.lib.GNU
+++ b/include/makeinclude/rules.lib.GNU
@@ -126,6 +126,7 @@ $(VSHLIB): shr.o
ifneq (,$(RANLIB))
-$(RANLIB) $@
endif # RANLIB
+ $(RM) shr.o
shr.o: $(VSHOBJS1)
else