diff options
| author | Robert Norton | 2018-06-26 16:41:13 +0100 |
|---|---|---|
| committer | Robert Norton | 2018-06-26 16:43:48 +0100 |
| commit | d2d227a23d96c11b619ec17d9e35d82bef543a62 (patch) | |
| tree | eca18fbfc8fae8f86e4cfdfb68f4ae2204b160a1 /mips/Makefile | |
| parent | 68703bf244a10e5281625b0cb1d620d78d6c5cbb (diff) | |
turn on warnings when compiling mips c then dial back ones that are triggered by generated code (probably false positives). Fix some warnings in rts.c
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 b43dd5d9..3592ac54 100644 --- a/mips/Makefile +++ b/mips/Makefile @@ -18,8 +18,8 @@ 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> $@ -mips_c: mips.c ../lib/sail.h Makefile - gcc -O2 -g -I ../lib $< ../lib/*.c -lgmp -lz -o $@ +mips_c: mips.c ../lib/sail.h ../lib/*.c Makefile + gcc -Wall -Wno-unused-but-set-variable -Wno-unused-label -Wno-maybe-uninitialized -Wno-return-type -O2 -g -I ../lib $< ../lib/*.c -lgmp -lz -o $@ sim.dtb: sim.dts dtc -O dtb -o $@ -b 0 $< |
