1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 17:09:02 +00:00

Resolve architecture incompatibilities with Zenmap on OS X. Fixes #161

This commit is contained in:
dmiller
2015-06-16 13:37:48 +00:00
parent ef4ebc98a3
commit 9fab2630fa

View File

@@ -33,7 +33,7 @@ BASE=dist/$APP_NAME.app/Contents
SCRIPT_DIR=`dirname "$0"`
CC=${CC:-gcc}
CFLAGS=${CFLAGS:--Wall}
CFLAGS=${CFLAGS:--Wall -arch i386}
echo "Running $0."
@@ -41,7 +41,7 @@ echo "Removing old build."
rm -rf build dist
echo "Compiling using py2app."
$PYTHON setup.py py2app --no-strip
$PYTHON setup.py py2app --arch=i386 --no-strip
# Delete a library that causes compatibility problems with OS X 10.9.
# http://seclists.org/nmap-dev/2013/q4/85