diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-06-04 01:36:28 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-06-10 11:41:25 -0700 |
commit | 481b23ed3c5ca5823b0ab5dd74af588b123fa26e (patch) | |
tree | e05df53c6796f17e636f2dde5460a02e69bafb1e /riscv | |
parent | 4ae7271b61a124b2227594ebec8f95a3e853c4d1 (diff) | |
download | spike-481b23ed3c5ca5823b0ab5dd74af588b123fa26e.zip spike-481b23ed3c5ca5823b0ab5dd74af588b123fa26e.tar.gz spike-481b23ed3c5ca5823b0ab5dd74af588b123fa26e.tar.bz2 |
ext: build libriscv PIC to make it linkable to ext library
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv')
-rw-r--r-- | riscv/riscv.mk.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/riscv.mk.in b/riscv/riscv.mk.in index 6f89103..175ab68 100644 --- a/riscv/riscv.mk.in +++ b/riscv/riscv.mk.in @@ -7,6 +7,8 @@ riscv_subproject_deps = \ riscv_install_prog_srcs = \ +riscv_CFLAGS = -fPIC + riscv_hdrs = \ common.h \ decode.h \ |