diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-06 00:19:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-06 00:19:34 +0000 |
commit | 02d0ada4d2ae55b8220db12cfdc5a00d723c445f (patch) | |
tree | 87abba4ec88431cdef1f37ed190e3d7a07e4cf0a /tools/sed | |
parent | d4404b42d8bdb793b45b8978f6e6a1abc649d2ae (diff) | |
download | upstream-02d0ada4d2ae55b8220db12cfdc5a00d723c445f.tar.gz upstream-02d0ada4d2ae55b8220db12cfdc5a00d723c445f.tar.bz2 upstream-02d0ada4d2ae55b8220db12cfdc5a00d723c445f.zip |
[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')
-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 |