diff options
| author | Adam Vandenberg | 2010-07-22 15:42:01 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-22 15:42:01 -0700 |
| commit | 1d9b36b8cc9e286ecbeb36b6e383a8e70d34ee74 (patch) | |
| tree | 4f2e0a5d9c10c225e789d6f7db2b200a95276473 /Library | |
| parent | 4f97cd293728a2d1afce2b762780bc589bc5e876 (diff) | |
| download | homebrew-1d9b36b8cc9e286ecbeb36b6e383a8e70d34ee74.tar.bz2 | |
Tweak nmap; Fixes #1270 (maybe)
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nmap.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/nmap.rb b/Library/Formula/nmap.rb index 754e364fe..e94fcdc54 100644 --- a/Library/Formula/nmap.rb +++ b/Library/Formula/nmap.rb @@ -9,6 +9,12 @@ class Nmap <Formula fails_with_llvm ENV.deparallelize + # There are reports that this is needed for sudo. See: + # http://github.com/mxcl/homebrew/issues/issue/1270 + ENV['CFLAGS'] = "-m32 -O2" + ENV['LDFLAGS'] = "-m32 -O2" + ENV['CXXFLAGS'] = "-m32 -O2" + system "./configure", "--prefix=#{prefix}", "--without-zenmap" system "make" system "make install" # seperate steps required otherwise the build fails |
