aboutsummaryrefslogtreecommitdiff
path: root/sim/common
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/common
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/common')
-rw-r--r--sim/common/Make-common.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 52cc3c9..7b1caa0 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -82,7 +82,7 @@ POSTCOMPILE = @true
# igen leaks memory, and therefore makes AddressSanitizer unhappy. Disable
# leak detection while running it.
IGEN = ../igen/igen$(EXEEXT)
-IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN)
+IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN) $(IGEN_FLAGS_SMP)
# Each simulator's Makefile.in defines one or more of these variables
# to override our settings as necessary. There is no need to define these