Commit df772b66 authored by Zeeshan Ali's avatar Zeeshan Ali

build,meson: Drop -Werror

Don't do that by default. We could enable it in the CI if we want.
parent 1f423418
......@@ -10,11 +10,9 @@ if get_option('libgeoclue')
libgeoclue_public_api_inc,
include_directories('../libgeoclue') ]
c_args = [ '-Werror' ]
executable('where-am-i',
'where-am-i.c',
include_directories: include_dirs,
c_args: c_args,
dependencies: [base_deps, libgeoclue_dep],
install: true,
install_dir: demo_dir)
......@@ -34,7 +32,6 @@ if get_option('demo-agent')
libgeoclue_public_api_inc,
libgeoclue_agent_inc ]
c_args = [ '-Werror' ]
sources = [ 'gclue-service-agent.h',
'gclue-service-agent.c',
'agent.c',
......@@ -43,7 +40,6 @@ if get_option('demo-agent')
executable('agent',
sources,
include_directories: include_dirs,
c_args: c_args,
link_whole: [ libgeoclue_agent ],
dependencies: deps,
install: true,
......
......@@ -40,7 +40,7 @@ libgeoclue_headers += gclue_client[1]
libgeoclue_headers += gclue_location[1]
libgeoclue_headers += gclue_manager[1]
c_args = [ '-DG_LOG_DOMAIN="Geoclue"', '-Werror' ]
c_args = [ '-DG_LOG_DOMAIN="Geoclue"' ]
include_dirs = [ libgeoclue_public_api_inc, include_directories('.', '..') ]
link_whole = [ libgeoclue_public_api ]
libgeoclue = library('geoclue-2',
......
......@@ -118,7 +118,7 @@ if get_option('nmea-source')
sources += [ 'gclue-nmea-source.h', 'gclue-nmea-source.c' ]
endif
c_args = [ '-DG_LOG_DOMAIN="Geoclue"', '-Werror' ]
c_args = [ '-DG_LOG_DOMAIN="Geoclue"' ]
link_with = [ libgeoclue_public_api, libgeoclue_agent, libgeocode_glib ]
install_dir = get_option('libexecdir')
executable('geoclue',
......
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