From: Markus Niebel <[email protected]> systemd uses cpp to generate tables for keymappings. Without setting CPPFLAGS the toolchain headers will be used for generation but local kernel headers for compilation. This can break compile.
tested with kernel 3.9 Signed-off-by: Markus Niebel <[email protected]> --- rules/systemd.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/systemd.make b/rules/systemd.make index b0f7ce0..8c425e4 100644 --- a/rules/systemd.make +++ b/rules/systemd.make @@ -44,6 +44,9 @@ SYSTEMD_CONF_ENV += cc_cv_CFLAGS__flto=no SYSTEMD_CFLAGS := \ -I$(KERNEL_HEADERS_INCLUDE_DIR) +SYSTEMD_CPPFLAGS := \ + -I$(KERNEL_HEADERS_INCLUDE_DIR) + # # autoconf # -- 2.1.1 -- ptxdist mailing list [email protected]
