aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/local.mk')
-rw-r--r--sim/m32c/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m32c/local.mk b/sim/m32c/local.mk
index 39620b5..f8efd07 100644
--- a/sim/m32c/local.mk
+++ b/sim/m32c/local.mk
@@ -61,6 +61,7 @@ noinst_PROGRAMS += %D%/run
%D%/modules.c: | $(%C%_BUILD_OUTPUTS)
%C%_opc2c_SOURCES = %D%/opc2c.c
+%C%_opc2c_LDADD = $(LIBS_FOR_BUILD)
# These rules are copied from automake, but tweaked to use FOR_BUILD variables.
%D%/opc2c$(EXEEXT): $(%C%_opc2c_OBJECTS) $(%C%_opc2c_DEPENDENCIES) %D%/$(am__dirstamp)