diff options
Diffstat (limited to 'sim/configure.in')
-rw-r--r-- | sim/configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sim/configure.in b/sim/configure.in index 3553ff2..2773119 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -56,7 +56,16 @@ case "${target}" in *-*-go32) sim_target=none ;; *-*-winnt) sim_target=none ;; *-*-cygwin32) sim_target=none ;; - *) sim_target=erc32 ;; + *) + # The SPARC simulator can only be compiled + # by gcc. Highly bogus, but just skip + # building it for now. + if test "${GCC}" = "yes"; then + sim_target=erc32 + else + sim_target=non + fi + ;; esac ;; *) sim_target=none ;; esac |