aircrack-ng: remove unnecessary arch flag manipulation

This commit is contained in:
Jack Nagel 2014-09-25 15:27:01 -05:00
parent ea0f0f4ddf
commit 7970f39573

View file

@ -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",