mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 23:10:40 +00:00
ICU-1900 Add an extra flag for optimization
X-SVN-Rev: 9430
This commit is contained in:
parent
8e6c63829e
commit
ff811b8693
2 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
## Copyright (c) 1999-2000, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
##
|
||||
## $Id: mh-solaris,v 1.29 2002/05/13 23:50:13 grhoten-oss Exp $
|
||||
## $Id: mh-solaris,v 1.30 2002/07/30 02:46:10 grhoten-oss Exp $
|
||||
|
||||
## Flags for position independent code
|
||||
SHAREDLIBCFLAGS = -KPIC
|
||||
|
@ -14,6 +14,9 @@ SHAREDLIBCPPFLAGS = -DPIC
|
|||
GEN_DEPS.c= $(CC) -xM $(DEFS) $(CPPFLAGS)
|
||||
GEN_DEPS.cc= $(CXX) -xM $(DEFS) $(CPPFLAGS)
|
||||
|
||||
# -libmil means use the intrinsic library functions like strlen
|
||||
CPPFLAGS += -libmil
|
||||
|
||||
# -mt means 'compiles and links a multithreaded program'
|
||||
CFLAGS += -mt
|
||||
CXXFLAGS += -mt
|
||||
|
|
|
@ -169,8 +169,8 @@ case $platform in
|
|||
THE_COMP="Sun's CC"
|
||||
CC=`which cc`; export CC
|
||||
CXX=`which CC`; export CXX
|
||||
RELEASE_CFLAGS=-xO3
|
||||
RELEASE_CXXFLAGS=-O3
|
||||
RELEASE_CFLAGS=-xO4
|
||||
RELEASE_CXXFLAGS=-O4
|
||||
;;
|
||||
SOLARISGCC)
|
||||
THE_OS=SOLARIS
|
||||
|
|
Loading…
Add table
Reference in a new issue