]> git.pld-linux.org Git - packages/passenger.git/blob - passenger_apache_fix_autofoo.patch
up to 4.0.50
[packages/passenger.git] / passenger_apache_fix_autofoo.patch
1 --- build/config.rb.orig        2012-08-14 16:40:28.375910357 -0400
2 +++ build/config.rb     2012-08-14 16:41:29.850088472 -0400
3 @@ -26,9 +26,9 @@
4  CXX      = string_option("CXX", "g++")
5  # TODO: consider -fcommon
6  if OPTIMIZE
7 -       OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip
8 +       OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} #{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip
9  else
10 -       OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS".strip
11 +       OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} #{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS".strip
12  end
13  
14  # Extra compiler flags that should always be passed to the C/C++ compiler.
This page took 0.066941 seconds and 3 git commands to generate.