diff options
author | Drew Crampsie <me@drewc.ca> | 2024-01-31 15:26:12 -0800 |
---|---|---|
committer | Drew Crampsie <me@drewc.ca> | 2024-01-31 15:26:12 -0800 |
commit | 2c1abb09430af7bfac6bc3702e802de1ccf71c02 (patch) | |
tree | 8bf4e97550428c006d4781103c90b0630e34becd | |
parent | 0dedb528697d6c4ede7edad1fb0daef0b5c23608 (diff) |
Add GCC dep for possbly missing symbolsbrew-clang-test
-rw-r--r-- | homebrew/gerbil-scheme-clang.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/homebrew/gerbil-scheme-clang.rb b/homebrew/gerbil-scheme-clang.rb index 9a342883..41ccefc0 100644 --- a/homebrew/gerbil-scheme-clang.rb +++ b/homebrew/gerbil-scheme-clang.rb @@ -13,16 +13,17 @@ class GerbilSchemeClang < Formula depends_on "zlib" depends_on "llvm" depends_on "coreutils" + depends_on "gcc" + + - #fails_with :clang do - # cause "gerbil-scheme is built with GCC" - #end def install nproc = `nproc`.to_i - 1 + ENV.prepend_path("PATH", "/usr/local/opt/llvm/bin") ENV.prepend_path("PATH", "/opt/homebrew/opt/llvm/bin") - ENV["LDFLAGS"] = "-L/opt/homebrew/opt/llvm/lib" - ENV["CPPFLAGS"] = "-I/opt/homebrew/opt/llvm/include" + ENV["LDFLAGS"] = "-L/opt/homebrew/opt/llvm/lib -L/usr/local/opt/llvm/lib" + ENV["CPPFLAGS"] = "-I/opt/homebrew/opt/llvm/include -I/usr/local/opt/llvm/include" ENV["GERBIL_GCC"] = "clang" ENV["CC"] = "clang" |