mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 17:40:16 +02:00
[tools] sed: fix compilation on FreeBSD/AMD64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f785faa2ab
commit
44615aa881
12
tools/sed/patches/010-amd64_freebsd_build.patch
Normal file
12
tools/sed/patches/010-amd64_freebsd_build.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user