aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/torrentcheck.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/torrentcheck.rb b/Library/Formula/torrentcheck.rb
index 95a40e883..32b6c9346 100644
--- a/Library/Formula/torrentcheck.rb
+++ b/Library/Formula/torrentcheck.rb
@@ -7,7 +7,7 @@ class Torrentcheck < Formula
def install
inreplace "torrentcheck.c", "#include <malloc.h>", ""
- system ENV.cc, ENV.cflags, "torrentcheck.c", "sha1.c", "-o", "torrentcheck"
+ system ENV.cc, "torrentcheck.c", "sha1.c", "-o", "torrentcheck", *ENV.cflags.split
bin.install 'torrentcheck'
end