Merge pull request #93 from arutk/test_build_werror

Treat warnings as errors in tests/build/Makefile
This commit is contained in:
Michał Mielewczyk 2019-04-01 15:28:49 +02:00 committed by GitHub
commit cc30794160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ INCDIR=include/
SRC=$(shell find ${SRCDIR} -name \*.c) SRC=$(shell find ${SRCDIR} -name \*.c)
OBJS = $(patsubst %.c, %.o, $(SRC)) OBJS = $(patsubst %.c, %.o, $(SRC))
CFLAGS = -Wall -I${INCDIR} -I${SRCDIR}/ocf/env/ CFLAGS = -Wall -Werror -I${INCDIR} -I${SRCDIR}/ocf/env/
all: sync all: sync
$(MAKE) build $(MAKE) build