blob: 10e1c8e1099750ecf5058c7de58759948716bbb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-lib__rb__ext__extconf.rb,v 1.1 2012/03/09 14:31:08 fhajny Exp $
Disable -Werror so that strlcpy can be detected on SunOS.
--- lib/rb/ext/extconf.rb.orig 2011-08-11 13:19:13.000000000 +0000
+++ lib/rb/ext/extconf.rb
@@ -22,7 +22,7 @@ if defined?(RUBY_ENGINE) && RUBY_ENGINE
else
require 'mkmf'
- $CFLAGS = "-g -O2 -Wall -Werror"
+ $CFLAGS = "-g -O2 -Wall"
have_func("strlcpy", "string.h")
|