summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Baravy <i.baravy@samsung.com>2017-10-30 17:34:16 +0300
committerIvan Baravy <i.baravy@samsung.com>2017-10-30 17:50:16 +0300
commit12eddfefc8c240e2feaa7ce1ed261a8a6c6b01ce (patch)
treed5a45690bf6e858a5340eb083a18b1b7de02194a
parent42285c4fe0e974e721cd06418793211ae33ce538 (diff)
downloadsystemd-sandbox/ibaravy/isan.tar.gz
systemd-sandbox/ibaravy/isan.tar.bz2
systemd-sandbox/ibaravy/isan.zip
Add -Wno-shadow to fix ISan build.sandbox/ibaravy/isan
-rw-r--r--packaging/systemd.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/systemd.spec b/packaging/systemd.spec
index c7a1a5083e..03ffb4473f 100644
--- a/packaging/systemd.spec
+++ b/packaging/systemd.spec
@@ -128,6 +128,10 @@ cp %{SOURCE1001} .
cp %{SOURCE3} .
%build
+%{?ubsan:
+export CFLAGS+=" -Wno-shadow"
+}
+
%autogen
%configure \
--enable-kdbus \