acl: remove use of weak functions
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 10 Apr 2019 13:45:16 +0000 (14:45 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jun 2019 14:28:11 +0000 (16:28 +0200)
commite53ce4e4137974f46743e74bd9ab912e0166c8b1
tree1818eaf1baa02b7df559d616f83eed2b0797c98b
parent996839793a2b6af80c29ffe55f4361ae23665e69
acl: remove use of weak functions

Weak functions don't work well with static libraries and require the use of
"whole-archive" flag to ensure that the correct function is used when
linking. Since the weak functions are only used as placeholders within
this library alone, we can replace them with non-weak functions using
preprocessor ifdefs.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_acl/meson.build
lib/librte_acl/rte_acl.c
mk/rte.app.mk