diff mbox series

[libdrm] meson: fix typo in compiler flag

Message ID 20181107165030.12760-1-eric.engestrom@intel.com (mailing list archive)
State New, archived
Headers show
Series [libdrm] meson: fix typo in compiler flag | expand

Commit Message

Eric Engestrom Nov. 7, 2018, 4:50 p.m. UTC
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dylan Baker Nov. 7, 2018, 7:17 p.m. UTC | #1
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>

Quoting Eric Engestrom (2018-11-07 08:50:30)
> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index 49bf2f740fb3627f2948..5ef17fc11fee25f98b3d 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -192,7 +192,7 @@ config.set10('HAVE_OPEN_MEMSTREAM', cc.has_function('open_memstream'))
>  
>  warn_c_args = []
>  foreach a : ['-Wall', '-Wextra', '-Wsign-compare', '-Werror=undef',
> -             '-Werror-implicit-function-declaration', '-Wpointer-arith',
> +             '-Werror=implicit-function-declaration', '-Wpointer-arith',
>               '-Wwrite-strings', '-Wstrict-prototypes', '-Wmissing-prototypes',
>               '-Wmissing-declarations', '-Wnested-externs', '-Wpacked',
>               '-Wswitch-enum', '-Wmissing-format-attribute',
> -- 
> Cheers,
>   Eric
>
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 49bf2f740fb3627f2948..5ef17fc11fee25f98b3d 100644
--- a/meson.build
+++ b/meson.build
@@ -192,7 +192,7 @@  config.set10('HAVE_OPEN_MEMSTREAM', cc.has_function('open_memstream'))
 
 warn_c_args = []
 foreach a : ['-Wall', '-Wextra', '-Wsign-compare', '-Werror=undef',
-             '-Werror-implicit-function-declaration', '-Wpointer-arith',
+             '-Werror=implicit-function-declaration', '-Wpointer-arith',
              '-Wwrite-strings', '-Wstrict-prototypes', '-Wmissing-prototypes',
              '-Wmissing-declarations', '-Wnested-externs', '-Wpacked',
              '-Wswitch-enum', '-Wmissing-format-attribute',