diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-06 00:19:34 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-06 00:19:34 +0000 |
commit | 44615aa88156ad21963b31365fa9456ea2a8eeeb (patch) | |
tree | 87abba4ec88431cdef1f37ed190e3d7a07e4cf0a /tools/sed/patches | |
parent | f785faa2abb6f108829bd357e910b786ffa6ea8d (diff) |
[tools] sed: fix compilation on FreeBSD/AMD64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/sed/patches')
-rw-r--r-- | tools/sed/patches/010-amd64_freebsd_build.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 0000000000..c40cafb1f8 --- /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 |