summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.0.3
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-11-21 17:10:05 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-11-21 17:10:05 +0000
commit6896287581de902f29408a39f40332cc398aec60 (patch)
treef14cbfa251e92a929421bcd6612cb0d4a8967b91 /toolchain/gcc/patches/4.0.3
parent643744a99df9d9b49525598cd6d895a4f00684c5 (diff)
downloadmtk-20170518-6896287581de902f29408a39f40332cc398aec60.zip
mtk-20170518-6896287581de902f29408a39f40332cc398aec60.tar.gz
mtk-20170518-6896287581de902f29408a39f40332cc398aec60.tar.bz2
Port the locale changes to the other gcc versions as well
SVN-Revision: 5608
Diffstat (limited to 'toolchain/gcc/patches/4.0.3')
-rw-r--r--toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch b/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
index ac4cf97..e28fbd5 100644
--- a/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
+++ b/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
@@ -3117,13 +3117,13 @@ diff -urN gcc-4.0.0-100/libstdc++-v3/crossconfig.m4 gcc-4.0.0/libstdc++-v3/cross
+ GLIBCXX_CHECK_WCHAR_T_SUPPORT
+
+ # For LFS.
-+ AC_DEFINE(HAVE_INT64_T)
++ GLIBCXX_CHECK_INT64_T
+ case "$target" in
+ *-uclinux*)
+ # Don't enable LFS with uClinux
+ ;;
+ *)
-+ AC_DEFINE(_GLIBCXX_USE_LFS)
++ GLIBCXX_USE_LFS
+ esac
+
+ # For showmanyc_helper().