about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-03-05 02:07:12 +0000
committerEric Wong <e@80x24.org>2017-03-05 02:07:12 +0000
commit247e7a6638f305c8f6297782f1d7bf2e86069206 (patch)
tree1ea2a4af6184b8177d3506d805559b9295e6540a
parent7d8dacbeb608cccc8e7a8c0fb940bef937c3ce93 (diff)
downloadkcar-247e7a6638f305c8f6297782f1d7bf2e86069206.tar.gz
All Ruby implementations set it, nowadays.
-rw-r--r--ext/kcar/extconf.rb5
1 files changed, 1 insertions, 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")