Add -Wextra flag for compilation
This commit is contained in:
2
compile
2
compile
@@ -16,7 +16,7 @@ while [[ $# > 0 ]];do
|
|||||||
done
|
done
|
||||||
|
|
||||||
CC=clang
|
CC=clang
|
||||||
CFLAGS="-Wall -Werror -pedantic"
|
CFLAGS="-Wall -Wextra -Werror -pedantic"
|
||||||
LIBFLAGS="-fPIC -shared"
|
LIBFLAGS="-fPIC -shared"
|
||||||
|
|
||||||
INCLUDE="$(find src -type d | xargs -I{} echo -n "-I{} ")"
|
INCLUDE="$(find src -type d | xargs -I{} echo -n "-I{} ")"
|
||||||
|
Reference in New Issue
Block a user