Commit 815ec122 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Fix enablement of -Werror

parent c69b6e5b
......@@ -98,7 +98,7 @@ AC_DEFUN([ENTANGLE_COMPILE_WARNINGS],[
gl_WARN_ADD([-Wno-suggest-attribute=pure])
gl_WARN_ADD([-Wno-suggest-attribute=const])
if test "$enable_werror" = "yes"
if test "$set_werror" = "yes"
then
gl_WARN_ADD([-Werror])
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment