diff options
-rw-r--r-- | spike_main/spike_main.mk.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spike_main/spike_main.mk.in b/spike_main/spike_main.mk.in index 25a7a6c..93481ab 100644 --- a/spike_main/spike_main.mk.in +++ b/spike_main/spike_main.mk.in @@ -14,3 +14,5 @@ spike_main_install_prog_srcs = \ spike_main_srcs = \ spike_main_CFLAGS = -fPIC + +spike_main_LDFLAGS = -Wl,--whole-archive libriscv.a -Wl,--no-whole-archive |