Add -Wextra -Werror to all C code
Not only the security-critical one.
This commit is contained in:
parent
12a9049cfe
commit
b12f1539a4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user