aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-25 01:05:09 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-25 02:13:32 -0500
commit111b1cf97e7e5a8db35b48c4a9d93692dec799ce (patch)
treec262a1976c97f8569b7c473bf99caf627cac62bf /sim/m4
parent20b579bac5a0b0177c7a40dc7520369dbb332efb (diff)
downloadgdb-111b1cf97e7e5a8db35b48c4a9d93692dec799ce.zip
gdb-111b1cf97e7e5a8db35b48c4a9d93692dec799ce.tar.gz
gdb-111b1cf97e7e5a8db35b48c4a9d93692dec799ce.tar.bz2
sim: smp: plumb igen flag down to all users
While mips has respected sim_igen_smp at configure time (which was always empty since it defaulted smp to off), no other igen port did. Move this to a makefile variable and plumb it through the common IGEN_RUN variable instead so everyone gets it by default. We also clean up some redundant -N0 setting with multirun mips.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_option_smp.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/m4/sim_ac_option_smp.m4 b/sim/m4/sim_ac_option_smp.m4
index 5c2b35f..47ddabd 100644
--- a/sim/m4/sim_ac_option_smp.m4
+++ b/sim/m4/sim_ac_option_smp.m4
@@ -27,7 +27,8 @@ AC_ARG_ENABLE(sim-smp,
no) sim_smp="0";;
*) sim_smp="$enableval";;
esac])dnl
-sim_igen_smp="-N ${sim_smp}"
+IGEN_FLAGS_SMP="-N ${sim_smp}"
+AC_SUBST(IGEN_FLAGS_SMP)
dnl NB: The ppc code uses a diff default because its smp works. That is why
dnl we don't unconditionally enable WITH_SMP here. Once we unify ppc, we can
dnl make this unconditional.