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
4 CXX = string_option("CXX", "g++")
5 # TODO: consider -fcommon
7 - OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip
8 + OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} #{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip
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
14 # Extra compiler flags that should always be passed to the C/C++ compiler.