summaryrefslogtreecommitdiffstats
path: root/rules/systemd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-07-31 10:53:13 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-07-31 10:57:00 +0200
commitbfe0e81807f55d1d20b182944cd668bbdd2da3c7 (patch)
tree44b27252fc6e4fb177c84dd279267f0dc852a613 /rules/systemd.make
parenta59f5224a65b1dd6752da189baa01caeadc21d4d (diff)
downloadptxdist-bfe0e81807f55d1d20b182944cd668bbdd2da3c7.tar.gz
ptxdist-bfe0e81807f55d1d20b182944cd668bbdd2da3c7.tar.xz
systemd: disable -Werror=shadow
Older gcc versions detect some false positives here. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.make')
-rw-r--r--rules/systemd.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make
index 676d0e05f..6e1876bcd 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -40,6 +40,7 @@ SYSTEMD_WRAPPER_BLACKLIST := TARGET_HARDEN_PIE
endif
SYSTEMD_CONF_ENV := \
$(CROSS_ENV) \
+ cc_cv_CFLAGS__Werror_shadow=no \
ac_cv_path_INTLTOOL_MERGE=: \
ac_cv_path_KEXEC=/sbin/kexec \
ac_cv_path_KILL=/bin/kill \