aboutsummaryrefslogtreecommitdiff
path: root/sim/igen
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/igen
parent20b579bac5a0b0177c7a40dc7520369dbb332efb (diff)
downloadbinutils-111b1cf97e7e5a8db35b48c4a9d93692dec799ce.zip
binutils-111b1cf97e7e5a8db35b48c4a9d93692dec799ce.tar.gz
binutils-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/igen')
-rw-r--r--sim/igen/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/local.mk b/sim/igen/local.mk
index bf984db..5d55295 100644
--- a/sim/igen/local.mk
+++ b/sim/igen/local.mk
@@ -22,7 +22,7 @@
# igen leaks memory, and therefore makes AddressSanitizer unhappy. Disable
# leak detection while running it.
IGEN = %D%/igen$(EXEEXT)
-IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN)
+IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN) $(IGEN_FLAGS_SMP)
## This makes sure igen is available before building the arch-subdirs which
## need to run the igen tool.