mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Resolve architecture incompatibilities with Zenmap on OS X. Fixes #161
This commit is contained in:
parent
ef4ebc98a3
commit
9fab2630fa
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue