summaryrefslogtreecommitdiffstats
path: root/rubygem-typhoeus-gcc-flags-fix.patch
blob: 4f5637029dd6434ca6be4befe2b1c615e308ce15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
*** ext/typhoeus/extconf.rb	2010-10-04 13:39:02.983245045 +0200
--- ext/typhoeus/extconf.rb.new	2010-10-13 15:07:43.289099195 +0200
***************
*** 25,31 ****
  use_macports = !(defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby')
  $LIBPATH << "/opt/local/lib" if use_macports
  
! $CFLAGS << " -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline"
  
  if Config::CONFIG['target_os'] == 'mingw32'
    header = File.join(ROOT, 'cross', 'curl-7.19.4.win32', 'include')
--- 25,31 ----
  use_macports = !(defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby')
  $LIBPATH << "/opt/local/lib" if use_macports
  
! $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline"
  
  if Config::CONFIG['target_os'] == 'mingw32'
    header = File.join(ROOT, 'cross', 'curl-7.19.4.win32', 'include')
***************
*** 62,65 ****
      )
  end
  
! create_makefile("typhoeus/native")
\ No newline at end of file
--- 62,65 ----
      )
  end
  
! create_makefile("typhoeus/native")