summaryrefslogtreecommitdiff
path: root/mips/Makefile
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-06-29 22:04:55 +0100
committerAlasdair Armstrong2018-06-29 22:06:05 +0100
commit4a0fbe2a1c7e535aacbf53e56a2322b1a97ac2ef (patch)
tree7ea3fce40a5c44df4694e09604434182fa15ae8f /mips/Makefile
parent3a91534b233ab63fb5ac91ffd92a4d75cc533180 (diff)
Try to fix some tricky C compilation bugs, break everything instead
Diffstat (limited to 'mips/Makefile')
-rw-r--r--mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mips/Makefile b/mips/Makefile
index a8bce143..593ea6d1 100644
--- a/mips/Makefile
+++ b/mips/Makefile
@@ -21,7 +21,7 @@ mips.c: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS) $(MIPS_MAIN) Makefile ../sail
C_WARNINGS=-Wall -Wno-unused-but-set-variable -Wno-unused-label -Wno-maybe-uninitialized -Wno-return-type
C_OPT=-O2
GCOV_FLAGS=
-mips_c: mips.c ../lib/sail.h ../lib/*.c Makefile
+mips_c: mips.c ../lib/sail.h ../lib/*.c Makefile
gcc $(C_OPT) $(C_WARNINGS) $(GCOV_FLAGS) -g -I ../lib $< ../lib/*.c -lgmp -lz -o $@
# Note that for coverage purposes O1 appears optimal. O0 means lots of obviously dead code but O2 risks reducing granularity too much.