Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created February 25, 2010 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbussink/314884 to your computer and use it in GitHub Desktop.
Save dbussink/314884 to your computer and use it in GitHub Desktop.
diff --git a/lib/rbconfig.rb b/lib/rbconfig.rb
index 98456ce..ed99d89 100644
--- a/lib/rbconfig.rb
+++ b/lib/rbconfig.rb
@@ -107,7 +107,7 @@ module Config
CONFIG["MANTYPE"] = "doc"
CONFIG["MAKEFILES"] = "Makefile"
# compile tools flags
- CONFIG["CFLAGS"] = "-ggdb3 -O2"
+ CONFIG["CFLAGS"] = "-ggdb3 -O2 -fPIC"
CONFIG["LDFLAGS"] = ""
CONFIG["CPPFLAGS"] = ""
CONFIG["OBJEXT"] = "o"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment