mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-7721 Check to see if both CXXFLAGS and CFLAGS were not set already.
X-SVN-Rev: 28770
This commit is contained in:
parent
0c59484979
commit
d483c7c807
2 changed files with 14 additions and 2 deletions
8
icu4c/source/configure
vendored
8
icu4c/source/configure
vendored
|
@ -3843,10 +3843,16 @@ if test "$GCC" = yes; then
|
|||
if test "$CFLAGS" = ""; then
|
||||
if test "$ENABLE_DEBUG" = 1; then
|
||||
CFLAGS=-g
|
||||
CXXFLAGS=-g
|
||||
fi
|
||||
if test "$ENABLE_RELEASE" = 1; then
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
fi
|
||||
fi
|
||||
if test "$CXXFLAGS" = ""; then
|
||||
if test "$ENABLE_DEBUG" = 1; then
|
||||
CXXFLAGS=-g
|
||||
fi
|
||||
if test "$ENABLE_RELEASE" = 1; then
|
||||
CXXFLAGS="$CXXFLAGS -O2"
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -120,10 +120,16 @@ if test "$GCC" = yes; then
|
|||
if test "$CFLAGS" = ""; then
|
||||
if test "$ENABLE_DEBUG" = 1; then
|
||||
CFLAGS=-g
|
||||
CXXFLAGS=-g
|
||||
fi
|
||||
if test "$ENABLE_RELEASE" = 1; then
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
fi
|
||||
fi
|
||||
if test "$CXXFLAGS" = ""; then
|
||||
if test "$ENABLE_DEBUG" = 1; then
|
||||
CXXFLAGS=-g
|
||||
fi
|
||||
if test "$ENABLE_RELEASE" = 1; then
|
||||
CXXFLAGS="$CXXFLAGS -O2"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue