]> git.enpas.org Git - openwrt.git/blob - tools/sed/patches/010-amd64_freebsd_build.patch
c40cafb1f8c720fb28faea971a0b2f26a3aaf390
[openwrt.git] / tools / sed / patches / 010-amd64_freebsd_build.patch
1 --- a/config/config.sub
2 +++ b/config/config.sub
3 @@ -380,6 +380,9 @@ case $basic_machine in
4         amd64)
5                 basic_machine=x86_64-pc
6                 ;;
7 +       amd64-*)
8 +               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
9 +               ;;
10         amdahl)
11                 basic_machine=580-amdahl
12                 os=-sysv