aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-01-18 17:30:33 +0100
committerMike McQuaid2015-01-18 17:30:33 +0100
commit9e72aef7a9940730b672d0f15a66c8057628e344 (patch)
tree0b94c1d73393dd513d95f1a4363dea8c0b870ba9 /Library
parentaa0cfa8fc9973227b9373ee762eb07ab81dec241 (diff)
downloadhomebrew-9e72aef7a9940730b672d0f15a66c8057628e344.tar.bz2
torrentcheck: fix CFLAGS splitting.
Diffstat (limited to 'Library')
-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 32b6c9346..d3217e308 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, "torrentcheck.c", "sha1.c", "-o", "torrentcheck", *ENV.cflags.split
+ system ENV.cc, "torrentcheck.c", "sha1.c", "-o", "torrentcheck", *ENV.cflags.to_s.split
bin.install 'torrentcheck'
end