diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2007-02-22 10:28:46 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2007-02-22 10:28:46 +0000 |
commit | ef3bf0f2e829f976ee8f738eac377f57593c95d1 (patch) | |
tree | 24708e3898164c7d869d27bf16db7986b83fb910 /toolchain/gcc/patches/4.1.2/900-c++_fixes.patch | |
parent | c6d265f356980b1dffc9f1bdb464f5e76f7b714f (diff) | |
download | upstream-ef3bf0f2e829f976ee8f738eac377f57593c95d1.tar.gz upstream-ef3bf0f2e829f976ee8f738eac377f57593c95d1.tar.bz2 upstream-ef3bf0f2e829f976ee8f738eac377f57593c95d1.zip |
add gcc 4.1.2 (closes #1381)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6343 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.1.2/900-c++_fixes.patch')
-rw-r--r-- | toolchain/gcc/patches/4.1.2/900-c++_fixes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.1.2/900-c++_fixes.patch b/toolchain/gcc/patches/4.1.2/900-c++_fixes.patch new file mode 100644 index 0000000000..173c6e2fa5 --- /dev/null +++ b/toolchain/gcc/patches/4.1.2/900-c++_fixes.patch @@ -0,0 +1,37 @@ +diff -ur gcc.old/libstdc++-v3/configure gcc.dev/libstdc++-v3/configure +--- gcc.old/libstdc++-v3/configure 2006-06-29 23:26:47.000000000 +0200 ++++ gcc.dev/libstdc++-v3/configure 2006-06-05 15:48:03.000000000 +0200 +@@ -5745,7 +5745,7 @@ + enableval="$enable_clocale" + + case "$enableval" in +- generic|gnu|ieee_1003.1-2001|uclibc|yes|no|auto) ;; ++ generic|gnu|ieee_1003.1-2001|yes|no|auto) ;; + *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5 + echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;} + { (exit 1); exit 1; }; } ;; +@@ -6524,23 +6525,6 @@ + echo "${ECHO_T}$enable_long_long" >&6 + + +- +- # Check whether --enable-wchar_t or --disable-wchar_t was given. +-if test "${enable_wchar_t+set}" = set; then +- enableval="$enable_wchar_t" +- +- case "$enableval" in +- yes|no) ;; +- *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5 +-echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;} +- { (exit 1); exit 1; }; } ;; +- esac +- +-else +- enable_wchar_t=yes +-fi; +- +- + # Test wchar.h for mbstate_t, which is needed for char_traits and fpos. + + for ac_header in wchar.h + |