Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1849 from NSError/Clang4BuildFix

Fixes clang[++] build failure on Apple Clang 4.0.
  • Loading branch information...
commit d47f143824cff4a2e308bc6cb2a5294b6e75b196 2 parents 65b5f2c + 78da8b2
@dbussink dbussink authored
View
4 lib/ext/melbourne/Rakefile
@@ -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
2  lib/rbconfig.rb
@@ -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
2  rakelib/blueprint.rb
@@ -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
4 rakelib/ext_helper.rb
@@ -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
2  vm/test/one.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.