Use C99 by default sandbox/nmerinov/llvm
authorNikolai Merinov <n.merinov@samsung.com>
Mon, 4 Feb 2019 12:40:39 +0000 (15:40 +0300)
committerNikolai Merinov <n.merinov@samsung.com>
Mon, 4 Feb 2019 12:40:39 +0000 (15:40 +0300)
packaging/audit.spec

index 5b4d806..3f463a7 100644 (file)
@@ -78,6 +78,7 @@ behavior.
 cp %{SOURCE1001} .
 
 %build
+CFLAGS="$CFLAGS -std=gnu99"
 %reconfigure --sbindir=%{_sbindir} --libdir=/%{_lib} --with-python=yes \
            --without-python3 --enable-gssapi-krb5=yes --with-libcap-ng=yes \
            --with-arm --with-aarch64 --enable-systemd --disable-zos-remote