From 040075b294eecf092a5c0aedb2dc8a0bde220594 Mon Sep 17 00:00:00 2001 From: mirko Date: Fri, 6 Aug 2010 12:42:04 +0000 Subject: [PATCH] nptl-supoprt should not autoselect EXTRA_WARNINGS as this results in extra CFLAGS which may not be supported by older compilers (as e.g. gcc-4.1 which e.g. the x86 target is currently using) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22511 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../100-do_not_select_extra-warnings.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 toolchain/uClibc/patches-0.9.32/100-do_not_select_extra-warnings.patch diff --git a/toolchain/uClibc/patches-0.9.32/100-do_not_select_extra-warnings.patch b/toolchain/uClibc/patches-0.9.32/100-do_not_select_extra-warnings.patch new file mode 100644 index 000000000..d9d738740 --- /dev/null +++ b/toolchain/uClibc/patches-0.9.32/100-do_not_select_extra-warnings.patch @@ -0,0 +1,11 @@ +diff -ruN uClibc-0.9.32.orig/extra/Configs/Config.in uClibc-0.9.32/extra/Configs/Config.in +--- uClibc-0.9.32.orig/extra/Configs/Config.in 2010-08-05 08:41:15.880201300 +0000 ++++ uClibc-0.9.32/extra/Configs/Config.in 2010-08-05 09:03:50.517199984 +0000 +@@ -460,7 +460,6 @@ + select UCLIBC_HAS_TLS + select UCLIBC_HAS_STDIO_FUTEXES + # NPTL local: +- select EXTRA_WARNINGS + help + If you want to compile uClibc with NPTL support, then answer Y. +