More strict C compiler

This commit is contained in:
Alex Kotov 2019-06-11 20:18:38 +05:00
parent a11404ad83
commit 7503d94d44
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ def have_func!(header, *args)
exit 1 unless have_func(*args, header)
end
cflags '-std=c11'
cflags '-Wall'
cflags '-Wextra'
cflags '-fvisibility=hidden'
have_header! 'ruby/digest.h'