提交 34f03984 编写于 作者: D Daniel P. Berrange

spec: Disable -Werror in Fedora RPM builds

Since we switched to using GIT to apply patches in the RPM spec,
we automagically also turned on -Werror, since the .git directory
now exists. We don't want this on in Fedora, since changing
header files often lead to new warnings being issued. Explicitly
turn off -Werror for non-RHEL platforms, instead of relying on
the defaults
上级 dec21593
...@@ -357,6 +357,8 @@ ...@@ -357,6 +357,8 @@
# changes in reported warnings # changes in reported warnings
%if 0%{?rhel} %if 0%{?rhel}
%define enable_werror --enable-werror %define enable_werror --enable-werror
else
%define enable_werror --disable-werror
%endif %endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册