aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-11-06 18:17:42 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-11-06 18:17:42 -0800
commit5afc6b9bc2e3685220cffb3da66ad9f5f1f7b14f (patch)
tree654b7243b9e4079ed1fa46d0931ec3d74717621d /isa
parentc897f34a637fc38137eaf56f3d785ea4fce7a3bd (diff)
downloadriscv-tests-5afc6b9bc2e3685220cffb3da66ad9f5f1f7b14f.zip
riscv-tests-5afc6b9bc2e3685220cffb3da66ad9f5f1f7b14f.tar.gz
riscv-tests-5afc6b9bc2e3685220cffb3da66ad9f5f1f7b14f.tar.bz2
Fix build with riscv-gcc version 4.9
Diffstat (limited to 'isa')
-rw-r--r--isa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/Makefile b/isa/Makefile
index b876406..1ec64c0 100644
--- a/isa/Makefile
+++ b/isa/Makefile
@@ -19,7 +19,7 @@ default: all
#--------------------------------------------------------------------
RISCV_GCC = riscv-gcc
-RISCV_GCC_OPTS = -fpic -nostdlib -nostartfiles -Wa,-march=RVIMAFDXhwacha
+RISCV_GCC_OPTS = -static -fpic -fvisibility=hidden -nostdlib -nostartfiles -Wa,-march=RVIMAFDXhwacha
RISCV_OBJDUMP = riscv-objdump --disassemble-all --section=.text --section=.data --section=.bss
RISCV_SIM = spike --extension=hwacha