turn on -Werror
This commit is contained in:
parent
6fa57c8e9f
commit
680a028799
|
@ -33,7 +33,7 @@ CPPFLAGS := $(DBGFLAGS) $(OPTFLAGS) $(RELFLAGS) \
|
||||||
-fno-builtin -ffreestanding -isystem \
|
-fno-builtin -ffreestanding -isystem \
|
||||||
$(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
|
$(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
|
||||||
|
|
||||||
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wcast-align -Wextra #-Werror
|
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wcast-align -Wextra -Werror
|
||||||
|
|
||||||
AFLAGS_DEBUG := -Wa,-gstabs
|
AFLAGS_DEBUG := -Wa,-gstabs
|
||||||
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
|
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
|
||||||
|
|
Loading…
Reference in New Issue