aboutsummaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure
index 9a43a90..9911f23 100755
--- a/sim/configure
+++ b/sim/configure
@@ -1318,6 +1318,8 @@ case "${target}" in
# end-sanitize-v850
w65-*-*) sim_target=w65 ;;
z8k*-*-*) sim_target=z8k ;;
+ sparc64-*-*)
+ ;; # Don't build erc32 if sparc64.
sparc*-*-*)
# The SPARC simulator can only be compiled by gcc.
sim_target=erc32
@@ -1345,9 +1347,11 @@ yes)
;;
esac
-configdirs="common ${sim_target}"
-subdirs="$configdirs"
+if test x"${sim_target}" != x ; then
+ configdirs="common ${sim_target}"
+ subdirs="$configdirs"
+fi
trap '' 1 2 15
cat > confcache <<\EOF