|
Lines 39-49
Link Here
|
| 39 |
CC = "gcc" |
39 |
CC = "gcc" |
| 40 |
CXX = "g++" |
40 |
CXX = "g++" |
| 41 |
LIBEXT = PlatformInfo.library_extension |
41 |
LIBEXT = PlatformInfo.library_extension |
| 42 |
if OPTIMIZE |
42 |
OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} -DNDEBUG -DBOOST_DISABLE_ASSERTS" |
| 43 |
OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS" |
|
|
| 44 |
else |
| 45 |
OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS" |
| 46 |
end |
| 47 |
|
43 |
|
| 48 |
# Extra compiler flags that should always be passed to the C/C++ compiler. |
44 |
# Extra compiler flags that should always be passed to the C/C++ compiler. |
| 49 |
# Should be included last in the command string, even after PlatformInfo.portability_cflags. |
45 |
# Should be included last in the command string, even after PlatformInfo.portability_cflags. |