aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2015-01-17 22:48:29 -0600
committerJack Nagel2015-01-17 22:48:29 -0600
commit02ffd44db23bd7af7e2082287002fdc716da08d9 (patch)
tree2c2d759d20a63ea529c34e1fc96744c81beb98fa /Library/Formula
parent4a6e96163c77169d90906c990b18cadc0a3c7bc8 (diff)
downloadhomebrew-02ffd44db23bd7af7e2082287002fdc716da08d9.tar.bz2
torrentcheck: fix passing cflags
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