diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-12 16:12:01 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-12 16:12:01 +0000 |
commit | e59549b5a0621776bd47d990a2c3e62cb6688d46 (patch) | |
tree | 78383d93a3dec9f4c1780f1467a9435b95177011 /toolchain/glibc/patches/2.14 | |
parent | ae2cd78ff59d1050fd8fb022e1b7eb4c9a191ec3 (diff) |
glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch and testing by WillieNL)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30478 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/glibc/patches/2.14')
-rw-r--r-- | toolchain/glibc/patches/2.14/100-fix_cpuid_h_check.patch | 22 | ||||
-rw-r--r-- | toolchain/glibc/patches/2.14/200-add_dl_search_path.patch | 12 |
2 files changed, 34 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/2.14/100-fix_cpuid_h_check.patch b/toolchain/glibc/patches/2.14/100-fix_cpuid_h_check.patch new file mode 100644 index 0000000000..12d0e1e996 --- /dev/null +++ b/toolchain/glibc/patches/2.14/100-fix_cpuid_h_check.patch @@ -0,0 +1,22 @@ +--- a/sysdeps/i386/configure.in ++++ b/sysdeps/i386/configure.in +@@ -2,7 +2,7 @@ + # Local configure fragment for sysdeps/i386. + + AC_HEADER_CHECK([cpuid.h], , +- [AC_MSG_ERROR([gcc must provide the <cpuid.h> header])]) ++ [AC_MSG_ERROR([gcc must provide the <cpuid.h> header])], []) + + AC_CACHE_CHECK(if -g produces usable source locations for assembler-with-cpp, + libc_cv_cpp_asm_debuginfo, [dnl +--- a/sysdeps/i386/configure ++++ b/sysdeps/i386/configure +@@ -632,7 +632,7 @@ + done + + +-ac_fn_c_check_header_mongrel "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "$ac_includes_default" ++ac_fn_c_check_header_mongrel "$LINENO" "cpuid.h" "ac_cv_header_cpuid_h" "" + if test "x$ac_cv_header_cpuid_h" = x""yes; then : + + else diff --git a/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch b/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch new file mode 100644 index 0000000000..2f4a48f201 --- /dev/null +++ b/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch @@ -0,0 +1,12 @@ +--- a/Makeconfig ++++ b/Makeconfig +@@ -529,6 +529,9 @@ + default-rpath = $(libdir) + endif + ++# Add /usr/lib to default search path for the dynamic linker ++user-defined-trusted-dirs := /usr/lib ++ + ifndef link-extra-libs + link-extra-libs = $(LDLIBS-$(@F)) + link-extra-libs-static = $(link-extra-libs) |