mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-4869 Use some _SHR_ macros more accurately
X-SVN-Rev: 19043
This commit is contained in:
parent
107b13e9c4
commit
5edfe10654
1 changed files with 6 additions and 1 deletions
|
@ -42,14 +42,19 @@ else
|
|||
ICU_IEEE = -DIEEE_754=0#M#
|
||||
endif
|
||||
|
||||
# For a dynamically called DLL module to share access to the POSIX external
|
||||
# variables, with its caller, the DLL module must define these _SHR_* macros.
|
||||
SHAREDLIBCPPFLAGS = -D_SHR_TZNAME -D_SHR_TIMEZONE
|
||||
|
||||
# -Wc,expo is used to export all functions
|
||||
SHAREDLIBCFLAGS = -Wc,expo
|
||||
SHAREDLIBCXXFLAGS = -Wc,expo
|
||||
|
||||
# TODO: Consider using -Wc,roc,ros for making the data and strings readonly
|
||||
# -Wc,"ros" seems to work, but not the "roc"
|
||||
CFLAGS += -Wc,'langlvl(extended),spill(2000),ros,dll' $(ICU_IEEE)
|
||||
CXXFLAGS += -Wc,'langlvl(extended),spill(2000),ros,dll' $(ICU_IEEE)
|
||||
DEFS += -D_OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -D_MSE_PROTOS -D_SHR_TZNAME -D_SHR_TIMEZONE -DU_LIBICUDATA_NAME=\"$(ICUPREFIX)$(DATA_STUBNAME)$(ICULIBSUFFIX)\"
|
||||
DEFS += -D_OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -D_MSE_PROTOS -DU_LIBICUDATA_NAME=\"$(ICUPREFIX)$(DATA_STUBNAME)$(ICULIBSUFFIX)\"
|
||||
ARFLAGS = -cr
|
||||
|
||||
ifeq (${OS390_XPLINK}, 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue