summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1998-10-21 00:43:41 +0000
committerSteve Huston <shuston@riverace.com>1998-10-21 00:43:41 +0000
commit3da0a6b9230be6b1aafedff5fef11dab860f411e (patch)
treec5391233ca13aea8b16cb33b7aa2241f894f514e /include
parenteaea90393bc270fe0a071edbe230d4328fed681f (diff)
downloadATCD-3da0a6b9230be6b1aafedff5fef11dab860f411e.tar.gz
Fixed/moved some compile flags and removed -qextchk because it caused xlC_r to
fail sometimes, like in netsvcs/lib. IBM bug, fixed in xlC 3.6.4.
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_aix4.2.GNU6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/makeinclude/platform_aix4.2.GNU b/include/makeinclude/platform_aix4.2.GNU
index 2a45582c56e..984284ba8d7 100644
--- a/include/makeinclude/platform_aix4.2.GNU
+++ b/include/makeinclude/platform_aix4.2.GNU
@@ -15,10 +15,12 @@ static_libs = 1
CC = xlC
CXX = xlC_r
CCFLAGS += $(CFLAGS)
-DCFLAGS += -g
+DCFLAGS += -g -qcheck=nobounds:div:null -qinitauto=5F
DLD = makeC++SharedLib_r
LD = $(CXX)
-CPPFLAGS += -qxcall -qtempinc -qcheck=nobounds:div:null -M -qlanglvl=ansi -qextchk -qflag=w:w -qinfo
+# -qextchk is handy, but produces false type mismatches when linking
+# netsvcs with 3.1.4, so it's disabled. IBM reports this fixed in 3.6.4.
+CPPFLAGS += -qtempinc -qlanglvl=ansi -qflag=w:w -qinfo
SHLIBA = $(SHLIB:lib%.so=lib%shr.a)
ifdef SHLIB
ACELIB = -lACEshr