Permalink
Browse files

Fix for broken build on Apple Clang 4.0 (ML).

  • Loading branch information...
1 parent 65b5f2c commit 78da8b216fd7078cc0ef8cd1c2512ff7d2923627 Chris Miller committed Aug 7, 2012
Showing with 7 additions and 7 deletions.
  1. +2 −2 lib/ext/melbourne/Rakefile
  2. +1 −1 lib/rbconfig.rb
  3. +1 −1 rakelib/blueprint.rb
  4. +2 −2 rakelib/ext_helper.rb
  5. +1 −1 vm/test/one.sh
@@ -64,8 +64,8 @@ when ["build:build"]
add_cflag "-g"
add_cxxflag "-g"
if ENV['DEV']
- add_cflag "-O0 -ggdb3"
- add_cxxflag "-O0 -ggdb3"
+ add_cflag "-O0"
+ add_cxxflag "-O0"
else
add_cflag "-O2"
add_cxxflag "-O2"
View
@@ -122,7 +122,7 @@ module RbConfig
CONFIG["CFLAGS"] = "-g -fPIC"
CONFIG["LDFLAGS"] = ""
if ENV['DEV']
- CONFIG["CFLAGS"] << " -O0 -ggdb3"
+ CONFIG["CFLAGS"] << " -O0 "
else
CONFIG["CFLAGS"] << " -O2"
end
View
@@ -25,7 +25,7 @@
gcc.cflags << Rubinius::BUILD_CONFIG[:user_cflags]
if ENV['DEV']
- gcc.cflags << "-O0 -ggdb3"
+ gcc.cflags << "-O0"
gcc.mtime_only = true
else
gcc.cflags << "-O2"
View
@@ -141,8 +141,8 @@ def add_rbx_capi
add_cflag "-g"
add_cxxflag "-g"
if ENV['DEV']
- add_cflag "-O0 -ggdb3"
- add_cxxflag "-O0 -ggdb3"
+ add_cflag "-O0"
+ add_cxxflag "-O0"
else
add_cflag "-O2"
add_cxxflag "-O2"
View
@@ -10,4 +10,4 @@ fi
vm/test/cxxtest/cxxtestgen.pl --error-printer --have-eh --abort-on-fail --include=string.h -o vm/test/one.cpp "$*"
-g++ $FLAGS -ggdb3 -g -Wall -Werror -Ivendor/libtommath -Ivm/test/cxxtest -I. -Ivm -o vm/test/one vm/test/one.cpp && ./vm/test/one
+g++ $FLAGS -g -Wall -Werror -Ivendor/libtommath -Ivm/test/cxxtest -I. -Ivm -o vm/test/one vm/test/one.cpp && ./vm/test/one

0 comments on commit 78da8b2

Please sign in to comment.