Permalink
Browse files

Fixed compilation problems on Linux running on the Renesas SH4 CPU: i…

…ssue #428.
  • Loading branch information...
1 parent 247a254 commit 4880487b72dd0cd8829b5871cfc02a0eb7f740d3 @FooBarWidget FooBarWidget committed Dec 12, 2009
Showing with 3 additions and 1 deletion.
  1. +2 −0 NEWS
  2. +1 −1 lib/phusion_passenger/platform_info.rb
View
2 NEWS
@@ -15,6 +15,8 @@ Release 2.2.8
NULL pointer. This problem has now been fixed: issue #391.
* Fixed thread creation issue on Intel Itanium platforms.
This fixes issue #427.
+ * Fixed compilation problems on Linux running on the Renesas SH4 CPU.
+ Patch contributed by iwamatsu: issue #428.
Release 2.2.7
View
2 lib/phusion_passenger/platform_info.rb
@@ -346,7 +346,7 @@ def self.portability_cflags
flags << '-DBOOST_HAS_STDINT_H -D_GLIBCPP__PTHREADS'
elsif RUBY_PLATFORM =~ /aix/
flags << '-DOXT_DISABLE_BACKTRACES'
- elsif RUBY_PLATFORM =~ /(sparc-linux|arm-linux)/
+ elsif RUBY_PLATFORM =~ /(sparc-linux|arm-linux|sh4-linux)/
# http://code.google.com/p/phusion-passenger/issues/detail?id=200
# http://groups.google.com/group/phusion-passenger/t/6b904a962ee28e5c
flags << '-DBOOST_SP_USE_PTHREADS'

0 comments on commit 4880487

Please sign in to comment.