Permalink
Browse files

revert r3931

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3932 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent b286e5b commit 2c6aafe65981a76916948bed7e64f38a05025385 @lrz lrz committed Apr 14, 2010
Showing with 5 additions and 5 deletions.
  1. +1 −1 ext/json/extconf.rb
  2. +1 −1 ext/ripper/extconf.rb
  3. +1 −1 rakelib/builder.rake
  4. +2 −2 rakelib/builder/options.rb
View
@@ -3,6 +3,6 @@
require 'rbconfig'
$INCFLAGS << ' -I../..'
-$CFLAGS << ' -Wall -std=gnu99'
+$CFLAGS << ' -Wall -std=c99'
create_makefile("json")
View
@@ -17,7 +17,7 @@ def main
$VPATH << '$(topdir)' << '$(top_srcdir)'
$INCFLAGS << ' -I$(topdir) -I$(top_srcdir) -I$(top_srcdir)/onig'
$INCFLAGS << ' -I../../icu-1060' if `sw_vers -productVersion`.to_f <= 10.6
- $CFLAGS << ' -std=gnu99'
+ $CFLAGS << ' -std=c99'
create_makefile 'ripper'
end
View
@@ -3,7 +3,7 @@ require File.expand_path('../builder/builder', __FILE__)
desc "Build the markgc tool"
task :mark_gc do
if !File.exist?('markgc')
- sh "/usr/bin/gcc -std=gnu99 markgc.c -o markgc -Wno-format"
+ sh "/usr/bin/gcc -std=c99 markgc.c -o markgc -Wno-format"
end
end
@@ -115,8 +115,8 @@ def self.option(name, default)
LDFLAGS << " -lpthread -ldl -lxml2 -lobjc -lauto -licucore -framework Foundation"
DLDFLAGS = "-dynamiclib -undefined suppress -flat_namespace -install_name #{INSTALL_NAME} -current_version #{MACRUBY_VERSION} -compatibility_version #{MACRUBY_VERSION}"
DLDFLAGS << " -unexported_symbols_list #{UNEXPORTED_SYMBOLS_LIST}" if UNEXPORTED_SYMBOLS_LIST
-CFLAGS << " -std=gnu99" # we add this one later to not conflict with C++ flags
-OBJC_CFLAGS << " -std=gnu99"
+CFLAGS << " -std=c99" # we add this one later to not conflict with C++ flags
+OBJC_CFLAGS << " -std=c99"
if `sw_vers -productVersion`.to_f <= 10.6
CFLAGS << " -I./icu-1060"

0 comments on commit 2c6aafe

Please sign in to comment.