mxcl/homebrew — pull request #11626 by armadillu (2012-04-13 18:16:04+00:00)
Title: had to change this for it to work for me (Xcode 4.2, lion 10.7.3)

not sure why, but I was getting:

==> Downloading http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
######################################################################## 100,0%
==> make
make -C src all
make -C osdep
gcc -Os -w -pipe -march=native -Qunused-arguments -arch i386 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
gcc -Os -w -pipe -march=native -Qunused-arguments -arch i386 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o crypto.o crypto.c
aircrack-ng.c:1: error: bad value (native) for -march= switch
aircrack-ng.c:1: error: bad value (native) for -mtune= switch
gcc -Os -w -pipe -march=native -Qunused-arguments -arch i386 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o common.o common.c
make[1]: *** [aircrack-ng.o] Error 1
make[1]: *** Waiting for unfinished jobs....
crypto.c:1: error: bad value (native) for -march= switch
crypto.c:1: error: bad value (native) for -mtune= switch
make[1]: *** [crypto.o] Error 1
common.c:1: error: bad value (native) for -march= switch
common.c:1: error: bad value (native) for -mtune= switch
make[1]: *** [common.o] Error 1