From 44615aa88156ad21963b31365fa9456ea2a8eeeb Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 6 Aug 2010 00:19:34 +0000 Subject: [tools] sed: fix compilation on FreeBSD/AMD64 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/sed/patches/010-amd64_freebsd_build.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/sed/patches/010-amd64_freebsd_build.patch (limited to 'tools/sed') diff --git a/tools/sed/patches/010-amd64_freebsd_build.patch b/tools/sed/patches/010-amd64_freebsd_build.patch new file mode 100644 index 000000000..c40cafb1f --- /dev/null +++ b/tools/sed/patches/010-amd64_freebsd_build.patch @@ -0,0 +1,12 @@ +--- a/config/config.sub ++++ b/config/config.sub +@@ -380,6 +380,9 @@ case $basic_machine in + amd64) + basic_machine=x86_64-pc + ;; ++ amd64-*) ++ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ++ ;; + amdahl) + basic_machine=580-amdahl + os=-sysv -- cgit v1.2.3