diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2023-07-09 23:00:50 -0700 |
---|---|---|
committer | Jerry Zhao <jerryz123@berkeley.edu> | 2023-07-09 23:00:50 -0700 |
commit | 2beafe8ac2b484a46d109856b3f021f7b8971375 (patch) | |
tree | 0999f5a3735cbfd07e2fce83f043dfe8a2cefa2b /Makefile.in | |
parent | ed5dccb2911f3b2dda731e5fe65e6c03ad0b46fb (diff) | |
download | riscv-isa-sim-dynamic.zip riscv-isa-sim-dynamic.tar.gz riscv-isa-sim-dynamic.tar.bz2 |
build: Dynamically link installed progsdynamic
With static linking, some symbols are duplicated when a dynamically loaded
extlib/extension plugin loads libriscv.so again. Notably, the default
clint/plic/ns16550 extensions will re-register themselves, causing
problems.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index b5013bd..40cc088 100644 --- a/Makefile.in +++ b/Makefile.in @@ -307,7 +307,7 @@ $$($(2)_install_prog_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(COMPILE) -c $$< $$($(2)_install_prog_exes) : % : %.o $$($(2)_prog_libnames) - $(LINK) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS) + $(LINK) -o $$@ $$< $$($(2)_prog_libarg) $(LIBS) $(2)_deps += $$($(2)_install_prog_deps) $(2)_junk += \ |