aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-18 19:56:45 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-18 19:56:45 -0500
commitfccf4ba5adaf69cac1875a194d8ee99dabf50c70 (patch)
tree3c5077ca0e29ea17faea259ffa8b86fab9002198 /sim
parentfb2c495f94fd5a87db2960a28e0c264fb94bfa29 (diff)
downloadgdb-fccf4ba5adaf69cac1875a194d8ee99dabf50c70.zip
gdb-fccf4ba5adaf69cac1875a194d8ee99dabf50c70.tar.gz
gdb-fccf4ba5adaf69cac1875a194d8ee99dabf50c70.tar.bz2
sim: use program_transform_name for libsim
Instead of always using target_alias as a prefix on the name, use program_transform_name instead so that the library is scoped in the same way as the run program.
Diffstat (limited to 'sim')
-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 9274c65..7f24024 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -479,7 +479,7 @@ install-common: installdirs
n=`echo run | sed '$(program_transform_name)'`; \
[ "$(SIM_PRIMARY_TARGET)" = "$$a" ] || n="$$n-$$a"; \
$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
- n="$(target_alias)-sim"; \
+ n=`echo sim | sed '$(program_transform_name)'`; \
a=`basename "$$(pwd)"`; \
[ "$(SIM_PRIMARY_TARGET)" = "$$a" ] || n="$$n-$$a"; \
n="lib$$n.a"; \