1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-05-11 18:16:22 +02:00

sed: fix compilation on FreeBSD/AMD64

SVN-Revision: 22499
This commit is contained in:
Jo-Philipp Wich 2010-08-06 00:19:34 +00:00
parent 187ec5ae19
commit f45be33f17

View 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