diff options
| author | Adam Vandenberg | 2011-02-22 09:26:57 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-02-22 09:26:57 -0800 |
| commit | e86c39c29fe05d62e96a585523e5e79bad1dc19e (patch) | |
| tree | 018d19d5812196f7ae6eb7fcff12a89f34f7bb91 /Library | |
| parent | 2d9ce60924202458543e7785a6db8b8458f59eff (diff) | |
| download | homebrew-e86c39c29fe05d62e96a585523e5e79bad1dc19e.tar.bz2 | |
ncftp - disable optimization to work around build issue
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ncftp.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/ncftp.rb b/Library/Formula/ncftp.rb index 7dbb60ee5..b224f11f2 100644 --- a/Library/Formula/ncftp.rb +++ b/Library/Formula/ncftp.rb @@ -6,8 +6,15 @@ class Ncftp <Formula md5 '685e45f60ac11c89442c572c28af4228' def install - system "./configure", "--disable-universal", "--disable-precomp", - "--prefix=#{prefix}", "--mandir=#{man}" + # "disable universal" doesn't seem to work. + # If ncftp detects the 10.4 SDK, it will try to use GCC 4.0 which doesn't + # support all of the compiler flags we set. + # So, just disable optimizations intead. + ENV.no_optimization + system "./configure", "--disable-universal", + "--disable-precomp", + "--prefix=#{prefix}", + "--mandir=#{man}" system "make" system "make install" end |
