Commit 250dccfe authored by Sophie Brun's avatar Sophie Brun

Adjust debian/rules for specific architecture requirements

parent 388a7a73
aircrack-ng (1:1.2-0~rc4-0kali3) kali-dev; urgency=medium
* Adjust debian/rules for specific architecture requirements
-- Sophie Brun <sophie@freexian.com> Fri, 19 Feb 2016 12:07:24 +0100
aircrack-ng (1:1.2-0~rc4-0kali2) kali-dev; urgency=medium
* Fix bug 3080: create a common.cfg file before build to avoid
......
......@@ -2,12 +2,17 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export MAKEFLAGS = gcrypt=true sqlite=true experimental=true pcre=true
include /usr/share/dpkg/architecture.mk
%:
dh $@ --with=python2
override_dh_auto_configure:
echo "PTHREAD=Y" >common.cfg
ifeq ($(DEB_HOST_ARCH),amd64)
(echo "SSEFLAG=Y"; echo "NEWSSE=true"; echo "SIMDCORE=true"; echo "PTHREAD=Y") >common.cfg
else
(echo "NEWSSE=false"; echo "SIMDCORE=false"; echo "PTHREAD=Y") >common.cfg
endif
dh_auto_configure
override_dh_auto_install:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment