ICU-1891 More fixes for the z/OS 1.2 compiler
X-SVN-Rev: 8961
This commit is contained in:
parent
2b26972275
commit
6eae56bbe0
@ -3,7 +3,7 @@
|
||||
## Copyright (c) 1999-2001, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
##
|
||||
## $Id: mh-os390,v 1.40 2002/06/24 19:49:13 grhoten-oss Exp $
|
||||
## $Id: mh-os390,v 1.41 2002/06/27 20:42:48 grhoten-oss Exp $
|
||||
|
||||
###################################################################
|
||||
# IMPORTANT NOTE #
|
||||
@ -36,7 +36,7 @@ endif
|
||||
# TODO: Consider using -Wc,roc,rent for making the data readonly
|
||||
CFLAGS += -Wc,"langlvl(extended),spill(2000)" $(ICU_BUILD_OPTIONS) $(ICU_IEEE) -Wc,dll,expo
|
||||
CXXFLAGS += -Wc,"langlvl(extended),spill(2000)" $(ICU_BUILD_OPTIONS) $(ICU_IEEE) -Wc,dll,expo
|
||||
DEFS += -D_OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -D_SHR_TZNAME -D_SHR_TIMEZONE
|
||||
DEFS += -D_OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -D_MSE_PROTOS -D_SHR_TZNAME -D_SHR_TIMEZONE
|
||||
ARFLAGS = -cr
|
||||
|
||||
## OS390BATCH
|
||||
@ -53,8 +53,10 @@ GEN_DEPS.c= makedep
|
||||
GEN_DEPS.cc= makedep
|
||||
|
||||
## Commands to compile
|
||||
COMPILE.c = _CXX_CXXSUFFIX="cpp" _CXX_STEPS="-1" $(CXX) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
COMPILE.cc = _CXX_CXXSUFFIX="cpp" _CXX_STEPS="-1" $(CXX) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
# _CXX_STEPS="-1" is a prelink step when compiling C and C++, and
|
||||
# it's only needed for long function names
|
||||
COMPILE.c = _CXX_CXXSUFFIX="cpp" $(CXX) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
COMPILE.cc = _CXX_CXXSUFFIX="cpp" $(CXX) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
|
||||
LDFLAGS += -Wl,dll
|
||||
|
||||
@ -63,8 +65,8 @@ LINK.c= $(CC) $(CFLAGS) $(LDFLAGS)
|
||||
LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS)
|
||||
|
||||
## Commands for shared library (dll)
|
||||
SHLIB.c= $(LINK.c) $(LDFLAGS)
|
||||
SHLIB.cc= $(LINK.cc) $(LDFLAGS)
|
||||
SHLIB.c= $(LINK.c)
|
||||
SHLIB.cc= $(LINK.cc)
|
||||
|
||||
## Compiler switch to embed a runtime search path
|
||||
LD_RPATH= -I
|
||||
|
Loading…
Reference in New Issue
Block a user