Enable -Werror for romcc
... and remove some dead code. Change-Id: Id959bdf57af09db2a1f5742555c2dcabca38ac9a Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/818 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
d086d51b5e
commit
cbb648c001
|
@ -1,7 +1,7 @@
|
|||
# Move the configuration defines to makefile.conf
|
||||
CC=gcc
|
||||
CPPFLAGS=
|
||||
CFLAGS= -g -Wall $(CPPFLAGS)
|
||||
CFLAGS= -g -Wall -Werror $(CPPFLAGS)
|
||||
CPROF_FLAGS=-pg -fprofile-arcs
|
||||
|
||||
all: romcc test
|
||||
|
|
|
@ -9160,10 +9160,6 @@ static struct triple *decompose_index(struct compile_state *state,
|
|||
static void decompose_compound_types(struct compile_state *state)
|
||||
{
|
||||
struct triple *ins, *next, *first;
|
||||
#if DEBUG_DECOMPOSE_HIRES
|
||||
FILE *fp;
|
||||
fp = state->dbgout;
|
||||
#endif
|
||||
first = state->first;
|
||||
ins = first;
|
||||
|
||||
|
|
Loading…
Reference in New Issue