aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cr16/local.mk')
-rw-r--r--sim/cr16/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/cr16/local.mk b/sim/cr16/local.mk
index 10533a4..9eb464f 100644
--- a/sim/cr16/local.mk
+++ b/sim/cr16/local.mk
@@ -55,7 +55,7 @@ BUILT_SOURCES += %D%/simops.h
%D%/modules.c: | $(%C%_BUILD_OUTPUTS)
%C%_gencode_SOURCES = %D%/gencode.c
-%C%_gencode_LDADD = %D%/cr16-opc.o
+%C%_gencode_LDADD = %D%/cr16-opc.o $(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)