ICU-9213 Update runConfigureICU and mh-os390

X-SVN-Rev: 32558
This commit is contained in:
Michael Ow 2012-10-08 20:48:04 +00:00
parent c39e4c83d3
commit faad4ccdd3
2 changed files with 10 additions and 9 deletions

View file

@ -42,9 +42,9 @@ IEEE390=1#M#
endif
ifeq (${IEEE390}, 1)
ICU_IEEE = -Wc,'float(ieee)'
ICU_IEEE = -Wc,'FLOAT(IEEE)'
else
ICU_IEEE = -DIEEE_754=0#M#
ICU_IEEE = -Wc,'FLOAT(IEEE)' -DIEEE_754=0#M#
endif
## Additional flags when building libraries and with threads
@ -66,8 +66,9 @@ SHAREDLIBCXXFLAGS = -Wc,expo
# The DLL option must be used by the callee and caller code when using shared libraries.
# NOCSECT might be used as an optimization option.
# -+ means accept any file extension as a C++ file. By default only .C is accepted.
CFLAGS += -Wc,'langlvl(extended),ros,rent,dll' $(ICU_IEEE)
CXXFLAGS += -Wc,'langlvl(extended),ros,dll' $(ICU_IEEE) -+
CFLAGS += -Wc,DLL,ROS,RENT,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'CHARS(SIGNED)','LANGLVL(EXTENDED)' $(ICU_IEEE)
CXXFLAGS += -Wc,DLL,ROS,RTTI,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'CHARS(SIGNED)','LANGLVL(EXTENDED)' $(ICU_IEEE) -+
DEFS += -D_XOPEN_SOURCE=600
ARFLAGS = -cr
# _MSE_PROTOS usually interacts with _XOPEN_SOURCE. It affects some standard
@ -81,7 +82,7 @@ ifeq (${OS390_XPLINK}, 1)
# GOFF is is the strategic object module format for S/390. It is required for XPLINK.
# NOTEMPINC could be used if ICU starts using templates.
ICU_XPLINK_C = -Wc,'xplink(backchain,storeargs),goff'
ICU_XPLINK_CXX = -Wc,'xplink(backchain,storeargs),goff'
ICU_XPLINK_CXX = -Wc,'xplink(backchain,storeargs),goff' -Wc,'NOTEMPINC'
ICU_XPLINK_L = -Wl,xplink
#SH# fi
endif

View file

@ -307,10 +307,10 @@ case $platform in
zOS)
THE_OS="z/OS (OS/390)"
THE_COMP="z/OS C/C++"
CC=cc; export CC
CXX=cxx; export CXX
RELEASE_CFLAGS="-2 -Wc,'inline(auto,noreport,500,4000)'"
RELEASE_CXXFLAGS="-2 -Wc,'inline(auto,noreport,500,4000)'"
CC=xlc; export CC
CXX=xlC; export CXX
RELEASE_CFLAGS="-O2 -Wc,'inline(AUTO,NOREPORT,1000,8000)'"
RELEASE_CXXFLAGS="-O2 -Wc,'inline(AUTO,NOREPORT,1000,8000)'"
;;
zOSV1R2)
THE_OS="z/OS 1.2"