summaryrefslogtreecommitdiffstats
path: root/scripts/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config.sub')
-rwxr-xr-xscripts/config.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config.sub b/scripts/config.sub
index 055e54582..a0deddae0 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -68,7 +68,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
- linux-gnu*)
+ linux-gnu*|freebsd*-*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;