aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-06 21:09:25 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-06 21:48:42 +0700
commit93e0ec910afe8c9a05ed802e04823080eefd9502 (patch)
tree43b4a223a12fe9c7e458df00207ce6fff7b1834e /sim/Makefile.am
parent1e5482d5686b77accc3b935a36b40a37fd699319 (diff)
downloadgdb-93e0ec910afe8c9a05ed802e04823080eefd9502.zip
gdb-93e0ec910afe8c9a05ed802e04823080eefd9502.tar.gz
gdb-93e0ec910afe8c9a05ed802e04823080eefd9502.tar.bz2
sim: build: respect AM_MAKEFLAGS when entering subdirs
This doesn't matter right now, but it will as we add more flags to the recursive make step to pass state down.
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r--sim/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am
index b8d592a..7cdcc60 100644
--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -188,10 +188,10 @@ endif
## have Makefiles in subdirs.
%/libsim.a: | $(SIM_ALL_RECURSIVE_DEPS)
- $(MAKE) -C $(@D) $(@F)
+ $(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
%/nrun.o: common/nrun.c | %/libsim.a $(SIM_ALL_RECURSIVE_DEPS)
- $(MAKE) -C $(@D) $(@F)
+ $(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
all-recursive: $(SIM_ALL_RECURSIVE_DEPS)