Commit 9a763b69 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Don't enable -Werror by default

Signed-off-by: 's avatarDaniel P. Berrange <>
parent f365a7b6
......@@ -171,7 +171,6 @@ check_cflags = [
cflags = []
......@@ -181,6 +180,14 @@ foreach cflag: check_cflags
werror_option = get_option('enable-werror')
if werror_option
if cc.has_argument('-Werror')
cflags += ['-Werror']
add_project_arguments(cflags, language: 'c')
entangle_prefix = get_option('prefix')
option('enable-gtk-doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
option('enable-werror', type: 'boolean', value: false, description: 'Enable -Werror flag')
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