Fix compilation warnings (#635)
* lib: fix compilation warnings * ci: add CFLAGS
This commit is contained in:
parent
9a82dcc666
commit
81d533d2d1
6 changed files with 14 additions and 6 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue