From 5585aaf940d834fcf364b4c5cf17b0269df0d250 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 3 Feb 2006 08:11:53 +0000 Subject: [PATCH] fix x86-2.6 build SVN-Revision: 3118 --- .../linux/generic-2.6/patches/005-gcc4_fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch b/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch index ff1f4bec10..91da40ac37 100644 --- a/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch +++ b/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch @@ -1,3 +1,15 @@ +diff -ruN linux-2.6.15.1/include/asm-i386/libgcc.h linux-2.6.15.1-openwrt/include/asm-i386/libgcc.h +--- linux-2.6.15.1/include/asm-i386/libgcc.h 1970-01-01 01:00:00.000000000 +0100 ++++ linux-2.6.15.1-openwrt/include/asm-i386/libgcc.h 2006-02-01 15:47:53.000000000 +0100 +@@ -0,0 +1,8 @@ ++#ifndef __ASM_LIBGCC_H ++#define __ASM_LIBGCC_H ++ ++#undef ARCH_NEEDS_ashldi3 ++#undef ARCH_NEEDS_ashrdi3 ++#undef ARCH_NEEDS_lshrdi3 ++ ++#endif /* __ASM_LIBGCC_H */ diff -Nur linux-2.6.15.1/include/asm-mips/libgcc.h linux-2.6.15.1-openwrt/include/asm-mips/libgcc.h --- linux-2.6.15.1/include/asm-mips/libgcc.h 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.6.15.1-openwrt/include/asm-mips/libgcc.h 2006-01-20 10:32:28.000000000 +0100 -- 2.30.2