Changeset 411

Show
Ignore:
Timestamp:
07/12/07 21:07:28 (1 year ago)
Author:
blackhedd
Message:

applied patch by Tim Pease to fix a SUNWspro compile problem.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ext/extconf.rb

    r392 r411  
    7171  # on Unix we need a g++ link, not gcc. 
    7272  CONFIG['LDSHARED'] = "$(CXX) -shared" 
     73 
     74  # Patch by Tim Pease, fixes SUNWspro compile problems. 
     75  if CONFIG['CC'] == 'cc' 
     76    $CFLAGS = CONFIG['CFLAGS'] = "-g -O2 -fPIC" 
     77    CONFIG['CCDLFLAGS'] = "-fPIC" 
     78  end 
    7379 
    7480when /darwin/