Permalink
Browse files

Fix compilation problems on SunOS.

  • Loading branch information...
1 parent 27894da commit 181b3f2ad63111b74ca5eee32fee5c3cd3388256 @FooBarWidget FooBarWidget committed Aug 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −0 NEWS
  2. +0 −1 lib/phusion_passenger/platform_info/compiler.rb
View
1 NEWS
@@ -5,6 +5,7 @@ Release 3.0.16
(Phusion Passenger Enterprise)
* Fixed OOM adjustment bugs on Linux.
* Fixed compilation problems on Fedora 18 and 19.
+ * Fixed compilation problems on SunOS.
Release 3.0.15
@@ -150,7 +150,6 @@ def self.portability_cflags
flags << '-D_XOPEN_SOURCE=500 -D_XPG4_2 -D__EXTENSIONS__ -D__SOLARIS__ -D_FILE_OFFSET_BITS=64'
flags << '-D__SOLARIS9__ -DBOOST__STDC_CONSTANT_MACROS_DEFINED' if RUBY_PLATFORM =~ /solaris2.9/
end
- flags << '-D_XOPEN_SOURCE=500 -D_XPG4_2 -D__EXTENSIONS__ -D__SOLARIS__ -D_FILE_OFFSET_BITS=64'
flags << '-DBOOST_HAS_STDINT_H' unless RUBY_PLATFORM =~ /solaris2.9/
flags << '-mcpu=ultrasparc' if RUBY_PLATFORM =~ /sparc/
elsif RUBY_PLATFORM =~ /openbsd/

0 comments on commit 181b3f2

Please sign in to comment.