From 7503d94d44242ece7e11a236bbe6348d152557ed Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 11 Jun 2019 20:18:38 +0500 Subject: [PATCH] More strict C compiler --- ext/digest/extconf.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/digest/extconf.rb b/ext/digest/extconf.rb index aad3216..2b3df12 100755 --- a/ext/digest/extconf.rb +++ b/ext/digest/extconf.rb @@ -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'