Bug 899722 Part 4: Prevent runConfigureICU from overriding CC/CXX on BSDs. r=glandium

This commit is contained in:
Jan Beich 2013-08-20 16:42:42 -04:00
Родитель a0a926140f
Коммит 9d55c2f41a
3 изменённых файлов: 26 добавлений и 2 удалений

Просмотреть файл

@ -0,0 +1,25 @@
Bug 899722 Part 4: Prevent runConfigureICU from overriding CC/CXX on BSDs.
diff --git a/intl/icu/source/runConfigureICU b/intl/icu/source/runConfigureICU
index 1a476ff..8873cc3 100755
--- a/intl/icu/source/runConfigureICU
+++ b/intl/icu/source/runConfigureICU
@@ -293,18 +293,16 @@ case $platform in
RELEASE_CXXFLAGS='-Gy -MD'
DEBUG_CFLAGS='-Zi -MDd'
DEBUG_CXXFLAGS='-Zi -MDd'
DEBUG_LDFLAGS='-DEBUG'
;;
*BSD)
THE_OS="BSD"
THE_COMP="the GNU C++"
- CC=gcc; export CC
- CXX=g++; export CXX
DEBUG_CFLAGS='-g -O0'
DEBUG_CXFLAGS='-g -O0'
;;
TRU64V5.1/CXX)
THE_OS="OSF1"
THE_COMP="Compaq cxx"
CC=cc; export CC
CXX=cxx; export CXX

Просмотреть файл

@ -298,8 +298,6 @@ case $platform in
*BSD)
THE_OS="BSD"
THE_COMP="the GNU C++"
CC=gcc; export CC
CXX=g++; export CXX
DEBUG_CFLAGS='-g -O0'
DEBUG_CXFLAGS='-g -O0'
;;

Просмотреть файл

@ -42,5 +42,6 @@ patch -d ${icu_dir}/../../ -p1 < ${icu_dir}/../icu-patches/bug-724533
patch -d ${icu_dir}/../../ -p1 < ${icu_dir}/../icu-patches/bug-853706
patch -d ${icu_dir}/../../ -p1 < ${icu_dir}/../icu-patches/bug-899722
patch -d ${icu_dir}/../../ -p1 < ${icu_dir}/../icu-patches/bug-899722-2
patch -d ${icu_dir}/../../ -p1 < ${icu_dir}/../icu-patches/bug-899722-4
hg addremove ${icu_dir}