aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Pulte <cp526@cam.ac.uk>2020-06-15 09:49:24 +0100
committerChristopher Pulte <cp526@cam.ac.uk>2020-06-15 09:49:24 +0100
commitffea7a39c32a210a446379aeda0eabcec4918ed6 (patch)
tree9e335e128e678ff3f624c9aa5211467b37a48c19 /Makefile
parent86bd287af50d296f3c83b7d0b524e3aaee073f78 (diff)
downloadsail-riscv-ffea7a39c32a210a446379aeda0eabcec4918ed6.zip
sail-riscv-ffea7a39c32a210a446379aeda0eabcec4918ed6.tar.gz
sail-riscv-ffea7a39c32a210a446379aeda0eabcec4918ed6.tar.bz2
c emulator makefile tweak, as suggested by Thibaut
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0389ec6..2fdc6fa 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,7 @@ SOFTFLOAT_FLAGS = -I $(SOFTFLOAT_INCDIR)
SOFTFLOAT_LIBS = $(SOFTFLOAT_LIBDIR)/softfloat.a
SOFTFLOAT_SPECIALIZE_TYPE = RISCV
-C_FLAGS = $(C_SYS_INCLUDES) -I $(SAIL_LIB_DIR) -I c_emulator $(SOFTFLOAT_FLAGS)
+C_FLAGS = $(C_SYS_INCLUDES) -I $(SAIL_LIB_DIR) -I c_emulator $(SOFTFLOAT_FLAGS) -fcommon
C_LIBS = $(C_SYS_LIBDIRS) -lgmp -lz $(SOFTFLOAT_LIBS)
# The C simulator can be built to be linked against Spike for tandem-verification.