aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/local.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-10-15 22:58:56 +0545
committerMike Frysinger <vapier@gentoo.org>2024-01-01 18:23:28 -0500
commit024a2b53b5128d5f7fcaea0779b1643c062fe3a4 (patch)
tree1b54575c11186a80e53b505a7e24595a2c31f95e /sim/m68hc11/local.mk
parentbf53e171b5d03e0fc3d84965b73836201ddc35e4 (diff)
downloadgdb-users/vapier/sim/gnulib-build.zip
gdb-users/vapier/sim/gnulib-build.tar.gz
gdb-users/vapier/sim/gnulib-build.tar.bz2
sim: use build-gnulib with build-time tools [PR sim/30882]users/vapier/sim/gnulib-build
Some of our build-time tools are fairly complicated and require some POSIX APIs that the build system doesn't provide. Leverage the new build-gnulib tree to provide fallback implementations automatically.
Diffstat (limited to 'sim/m68hc11/local.mk')
-rw-r--r--sim/m68hc11/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m68hc11/local.mk b/sim/m68hc11/local.mk
index 36c503e..1ec60d7 100644
--- a/sim/m68hc11/local.mk
+++ b/sim/m68hc11/local.mk
@@ -71,6 +71,7 @@ noinst_PROGRAMS += %D%/run
%D%/modules.c: | $(%C%_BUILD_OUTPUTS)
%C%_gencode_SOURCES = %D%/gencode.c
+%C%_gencode_LDADD = $(LIBS_FOR_BUILD)
# These rules are copied from automake, but tweaked to use FOR_BUILD variables.
%D%/gencode$(EXEEXT): $(%C%_gencode_OBJECTS) $(%C%_gencode_DEPENDENCIES) %D%/$(am__dirstamp)