Fix compilation warnings (#635)

* lib: fix compilation warnings

* ci: add CFLAGS
This commit is contained in:
Thomas Vigouroux 2020-06-03 21:19:57 +02:00 committed by GitHub
parent 9a82dcc666
commit 81d533d2d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 6 deletions

View file

@ -18,7 +18,7 @@ endif
OBJ := $(SRC:.c=.o)
# define default flags, and override to append mandatory flags
CFLAGS ?= -O3
CFLAGS ?= -O3 -Wall -Wextra -Werror
override CFLAGS += -std=gnu99 -fPIC -Ilib/src -Ilib/include
# ABI versioning