From: Christian Ehrhardt Date: Thu, 15 Nov 2018 11:31:48 +0000 (+0100) Subject: set RTE_MACHINE after potential external override X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5affab656d752ed5e90b6dce2650e97d91a10384;p=deb_dpdk.git set RTE_MACHINE after potential external override Change-Id: I4bfa59886592511af7ebe6c6d78014675d0a3173 Signed-off-by: Christian Ehrhardt --- diff --git a/debian/rules b/debian/rules index b88051ef..a2c553c8 100755 --- a/debian/rules +++ b/debian/rules @@ -12,14 +12,14 @@ ifeq (,$(findstring terse,$(DEB_BUILD_OPTIONS))) export DH_OPTIONS=-v endif -# default to minimal base, without setting this it would build -# -march=native which is a non portable invariant -RTE_MACHINE ?= "default" # People rebuilding this package can overwrite RTE_MACHINE # via DEB_BUILD_OPTIONS if they like ifneq (,$(filter rte_machine=%,$(DEB_BUILD_OPTIONS))) RTE_MACHINE ?= $(patsubst rte_machine=%,%,$(filter rte_machine=%,$(DEB_BUILD_OPTIONS))) endif +# default to minimal base, without setting this it would build +# -march=native which is a non portable invariant +RTE_MACHINE ?= "default" # now stable with parallel comilation, so support -j ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))