aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 3f85b6c..ed1e5a4 100755
--- a/configure
+++ b/configure
@@ -730,6 +730,7 @@ CPPFLAGS
LDFLAGS
CFLAGS
CC
+cpu_type
target_subdir
host_subdir
build_subdir
@@ -3395,6 +3396,9 @@ case "${target}" in
;;
esac
+cpu_type=`echo ${host} | sed 's/-.*$//'`
+
+
# Disable libssp for some systems.
case "${target}" in
avr-*-*)