mk: fix static build on Fedora 22
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 9 Jun 2015 12:51:01 +0000 (13:51 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 29 Jun 2015 12:31:13 +0000 (14:31 +0200)
On Fedora 22, the "ar" binary operates by default in deterministic mode,
making the "u" parameter irrelevant, and leading to warning messages
getting printed in the build output like below.

  INSTALL-LIB librte_kvargs.a
ar: `u' modifier ignored since `D' is the default (see `U')

There are two options to remove these warnings:
* add in the "U" flag to make "ar" non-deterministic again
* remove the "u" flag to have all objects always updated

This patch takes the second approach. It also explicitly adds in the "D"
flag to make behaviour consistent across different distributions which
may have different defaults.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>

No differences found