Add -Wextra -Werror to all C code

Not only the security-critical one.
This commit is contained in:
Marek Marczykowski-Górecki 2014-02-16 10:43:17 +01:00
parent 12a9049cfe
commit b12f1539a4
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
CC=gcc
CFLAGS=-Wall -g -O3
CFLAGS=-Wall -Wextra -Werror -g -O3
all: meminfo-writer
meminfo-writer: meminfo-writer.o
$(CC) -g -o meminfo-writer meminfo-writer.o -lxenstore

View File

@ -1,5 +1,5 @@
CC=gcc
CFLAGS+=-I. -g -Wall -pie -fPIC -Wextra
CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC
XENLIBS=-lxenctrl -lxenstore -lvchan
COMMONIOALL=ioall.o
SO_VER=1