Add -Wextra -Werror to all C compile flags

This commit is contained in:
Marek Marczykowski-Górecki 2014-02-16 10:29:22 +01:00
parent aa0fda1984
commit 2b95581928
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CC=gcc CC=gcc
CFLAGS=-g -I. -Wall -fPIC -pie CFLAGS=-g -I. -Wall -Wextra -Werror -fPIC -pie
qfile-dom0-unpacker: qfile-dom0-unpacker.o qfile-dom0-unpacker: qfile-dom0-unpacker.o
$(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy $(CC) -pie -g -o $@ $^ -lqubes-rpc-filecopy

View File

@ -1,5 +1,5 @@
CC=gcc CC=gcc
CFLAGS+=-I. -g -Wall -pie -fPIC CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC
XENLIBS=-lvchan -lxenstore -lxenctrl XENLIBS=-lvchan -lxenstore -lxenctrl
LIBS=$(XENLIBS) -lqrexec-utils LIBS=$(XENLIBS) -lqrexec-utils