Commit f07ddbee authored by Iñigo Martínez's avatar Iñigo Martínez

build: Removed default compiler options

C99 has been removed as the C standard to be used, so compiler's
default standard will be used instead. The default flags have also
been removed, so meson's warning level flags will be used.
parent d47e05c5
......@@ -4,7 +4,6 @@ project(
license: 'LGPL2+',
default_options: [
meson_version: '>= 0.41.0'
......@@ -59,44 +58,6 @@ config_h.set('HAVE_UNISTD_H', cc.has_header('unistd.h'))
# compiler flags
common_flags = ['-DHAVE_CONFIG_H']
buildtype = get_option('buildtype')
if buildtype == 'debug' or buildtype == 'debugoptimized'
test_cflags = [
foreach cflag: test_cflags
if cc.has_argument(cflag)
common_flags += [cflag]
add_project_arguments(common_flags, language: 'c')
gepub_deps = [
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