Comments
-
Jack OConnor
Created
,
edited
Wow that formatting did not turn out like I wanted :p
diff --git a/ruby/command-t/extconf.rb b/ruby/command-t/extconf.rb index 58503b6..9c88fab 100644 --- a/ruby/command-t/extconf.rb +++ b/ruby/command-t/extconf.rb @@ -28,5 +28,6 @@ def missing item exit 1 end +$CFLAGS = $CFLAGS + ' -fgnu89-inline ' have_header('ruby.h') or missing('ruby.h') create_makefile('ext')
-
Greg Hurrell
The right place for this kind of change is in the
depend
file (in the same directory).I'm almost more inclined, however, to just drop the C99-specific aspects of the source in the interests of wider compatibility without having to meddle with possibly-not-well-supported compiler flags.
-
anonymous
FYI, I'm having the same exact problem, Adding the fgnu89-inline flag doesn't fix it for me (After adding the line, I simply ran
ruby extconf.rb && make
again)
Add a comment
Comments are now closed for this issue.