1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 16:48:26 +02:00
openwrt-xburst/tools/sed/patches/010-amd64_freebsd_build.patch

13 lines
266 B
Diff
Raw Normal View History

--- 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