aircrack-ng: remove unnecessary arch flag manipulation
This commit is contained in:
parent
ea0f0f4ddf
commit
7970f39573
1 changed files with 0 additions and 8 deletions
|
@ -10,14 +10,6 @@ class AircrackNg < Formula
|
|||
patch :DATA
|
||||
|
||||
def install
|
||||
# Force i386, otherwise you get errors:
|
||||
# sha1-sse2.S:190:32-bit absolute addressing is not supported for x86-64
|
||||
# sha1-sse2.S:190:cannot do signed 4 byte relocation
|
||||
%w{ CFLAGS CXXFLAGS LDFLAGS OBJCFLAGS OBJCXXFLAGS }.each do |compiler_flag|
|
||||
ENV.remove compiler_flag, "-arch #{Hardware::CPU.arch_64_bit}"
|
||||
ENV.append compiler_flag, "-arch #{Hardware::CPU.arch_32_bit}"
|
||||
end
|
||||
|
||||
# Fix incorrect OUI url
|
||||
inreplace "scripts/airodump-ng-oui-update",
|
||||
"http://standards.ieee.org/regauth/oui/oui.txt",
|
||||
|
|
Loading…
Reference in a new issue