aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-11-09 00:20:45 -0600
committerJack Nagel2013-11-09 00:20:45 -0600
commitf5ac9cfe5d10ebc6cffc25fe2c20a819547fcaff (patch)
treedc3794fe57ade0c19ffd470c8d65ad19519ef124
parent3be4eaeeb2aa612957c8b24e4fec11b7c92a3ae9 (diff)
downloadhomebrew-f5ac9cfe5d10ebc6cffc25fe2c20a819547fcaff.tar.bz2
gambit-scheme: update clang warning for a more modern era
-rw-r--r--Library/Formula/gambit-scheme.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/gambit-scheme.rb b/Library/Formula/gambit-scheme.rb
index 25e589be0..1b62bb05e 100644
--- a/Library/Formula/gambit-scheme.rb
+++ b/Library/Formula/gambit-scheme.rb
@@ -26,14 +26,12 @@ class GambitScheme < Formula
args << "--enable-shared" if build.include? 'enable-shared'
- unless ENV.compiler == :gcc
+ if ENV.compiler == :clang
opoo <<-EOS.undent
- Gambit will build with GCC if an acceptable version is found on your
- system, or Clang otherwise. If it finds only Clang, the build will
- take a very, very long time. Programs built with Gambit after the
- install may also tke a long time to compile.
-
- You can remedy this by installing an apple-gcc* or gcc* package.
+ Gambit will build with Clang, however the build may take longer and
+ produce substandard binaries. If you have GCC, you can get a faster
+ build and faster execution with:
+ brew install gambit-scheme --cc=gcc-4.2 # or 4.7, 4.8, etc.
EOS
end