mk: add missing preprocessor options
authorLuca Boccassi <lboccass@brocade.com>
Tue, 30 Aug 2016 17:25:04 +0000 (18:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 23 Sep 2016 16:21:19 +0000 (18:21 +0200)
commitf25d44d92ad00867bb6ac1e80782240fd884251f
tree8ac5cd3420f25bf1c589665d296ba382f98a2fc4
parent684e6f4a78307796c45018c77908be4c96999e45
mk: add missing preprocessor options

Some targets in mk/internal/rte.compile-pre.mk are calling CC or
HOSTCC without passing CPPFLAGS, EXTRA_CPPFLAGS or HOST_CPPFLAGS,
HOST_EXTRA_CPPFLAGS.
On Debian/Ubuntu builds this means that preprocessor flags set by the
dpkg-buildpackage environment, like hardening flags, are not
correctly passed to all objects builds.

Signed-off-by: Luca Boccassi <lboccass@brocade.com>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
mk/internal/rte.compile-pre.mk