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
# 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
# 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
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"