diff options
| author | Alasdair Armstrong | 2018-07-24 18:16:53 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-07-24 18:16:53 +0100 |
| commit | 7cb3aa7b82423f1744d1006fc7c076aa2fcaf15a (patch) | |
| tree | 3c9a607b9e0b2fce55cbd0a84475614e3d3d35cd /mips/Makefile | |
| parent | 8b1bbeed703da7ba78dfe2728c99b0ec9088cf47 (diff) | |
| parent | 6b4f407ad34ca7d4d8a89a5a4d401ac80c7413b0 (diff) | |
Merge branch 'c_fixes' into sail2
Diffstat (limited to 'mips/Makefile')
| -rw-r--r-- | mips/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mips/Makefile b/mips/Makefile index 9fdda4d3..03144f50 100644 --- a/mips/Makefile +++ b/mips/Makefile @@ -18,10 +18,10 @@ mips: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS) $(MIPS_MAIN) ../sail mips.c: $(MIPS_PRE) $(MIPS_TLB) $(MIPS_SAILS) $(MIPS_MAIN) Makefile ../sail $(SAIL) -O -memo_z3 -c $(filter %.sail, $^) 1> $@ -C_WARNINGS=-Wall -Wno-unused-but-set-variable -Wno-unused-label -Wno-unused-function -Wno-maybe-uninitialized -Wno-return-type +C_WARNINGS=-Wall -Wno-unused-but-set-variable -Wno-unused-label -Wno-unused-function -Wno-maybe-uninitialized 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. |
