mk: reduce scope of whole-archive static linking
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Jun 2016 13:19:09 +0000 (15:19 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Jun 2016 14:11:29 +0000 (16:11 +0200)
commit95dc3c3cf31cb20819b308a2e9b89764bf1f4e98
treeb42c6576274f0ce1af2e7d5d1a8cd1057e87a0f5
parentce18c527d4298f5e4f7d94eac4415cb4d78c5371
mk: reduce scope of whole-archive static linking

The --whole-archive argument is only required for plugins (drivers)
and libraries used by these plugins.
Currently it covers all libraries.
Reducing the scope of this argument slightly reduce final application size
when statically linked.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.app.mk