Permalink
Browse files

Use clang compile flag fix if using clang. Closes #1876.

  • Loading branch information...
1 parent 8cf8366 commit 2e3d47b6cfd6664a7f5b4b2252fcfc3d51aea3db @brixen brixen committed Aug 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rakelib/blueprint.rb
View
@@ -13,7 +13,7 @@
# On other combinations of platform and compiler, this flag is implicitly
# assumed from -fno-omit-frame-pointer. To use same build flags across
# platforms, -mno-omit-leaf-frame-pointer is added explicitly.
- gcc.cflags << "-mno-omit-leaf-frame-pointer"
+ gcc.cflags << "-mno-omit-leaf-frame-pointer" if Rubinius::BUILD_CONFIG[:cc] == "clang"
gcc.cflags << "-Wno-unused-function"
gcc.cflags << "-g -Werror"

0 comments on commit 2e3d47b

Please sign in to comment.