Skip to content

Instantly share code, notes, and snippets.

@pbiernacki
Last active August 29, 2015 14:02
Show Gist options
  • Save pbiernacki/d128624c19dc30642da9 to your computer and use it in GitHub Desktop.
Save pbiernacki/d128624c19dc30642da9 to your computer and use it in GitHub Desktop.
--- ../passenger-4.0.44/build/basics.rb.orig 2013-10-26 22:00:00.000000000 +0000
+++ ../passenger-4.0.44/build/basics.rb 2014-06-19 16:23:44.541302596 +0000
@@ -171,6 +171,7 @@
[EXTRA_CFLAGS, EXTRA_CXXFLAGS].each do |flags|
flags << " -fno-omit-frame-pointers" if USE_ASAN
flags << " -DPASSENGER_DISABLE_THREAD_LOCAL_STORAGE" if !boolean_option('PASSENGER_THREAD_LOCAL_STORAGE', true)
+ flags << " -fPIC"
end
# Extra linker flags that should always be passed to the linker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment