From 247e7a6638f305c8f6297782f1d7bf2e86069206 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Mar 2017 02:07:12 +0000 Subject: extconf: remove unneeded -fPIC CFLAGS All Ruby implementations set it, nowadays. --- ext/kcar/extconf.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ext/kcar/extconf.rb b/ext/kcar/extconf.rb index 7ab5b4b..218c2e3 100644 --- a/ext/kcar/extconf.rb +++ b/ext/kcar/extconf.rb @@ -6,7 +6,4 @@ dir_config("kcar") have_macro("SIZEOF_OFF_T", "ruby.h") or check_sizeof("off_t", "sys/types.h") have_macro("SIZEOF_LONG", "ruby.h") or check_sizeof("long", "sys/types.h") -# -fPIC is needed for Rubinius, MRI already uses it regardless -with_cflags($CFLAGS + " -fPIC ") do - create_makefile("kcar_ext") -end +create_makefile("kcar_ext") -- cgit v1.2.3-24-ge0c7