aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-05-21 20:42:02 -0500
committerJack Nagel2014-05-21 20:42:02 -0500
commit4fa9600c11148e3497d47ec75c6d804fa816b53f (patch)
treed138fb3c823e163717be93d9995711fa7081b71a /Library/Formula
parentcad94a76404e1545914c8f6a9a8216835d7baa5b (diff)
downloadhomebrew-4fa9600c11148e3497d47ec75c6d804fa816b53f.tar.bz2
nload: fix build with clang
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nload.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/nload.rb b/Library/Formula/nload.rb
index 0147e4409..8d41434bc 100644
--- a/Library/Formula/nload.rb
+++ b/Library/Formula/nload.rb
@@ -9,12 +9,8 @@ class Nload < Formula
build 2334
end
- fails_with :clang do
- cause "ld: internal error: atom not found in symbolIndex(__Z10fromStringIyET_RKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE) for architecture x86_64"
- end
-
- depends_on :autoconf
- depends_on :automake
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
# Patching configure.in file to make configure compile on Mac OS.
# Patch taken from MacPorts.
@@ -22,9 +18,11 @@ class Nload < Formula
def install
system "./run_autotools"
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ # Unset LDFLAGS, "-s" causes the linker to crash
+ system "make", "install", "LDFLAGS="
end
end