meson.build: gnu90 alias for gnu89 may not be supported
authorJan Beich <jbeich@FreeBSD.org>
Sun, 3 Feb 2019 09:27:33 +0000 (09:27 +0000)
committerJan Beich <jbeich@FreeBSD.org>
Sun, 3 Feb 2019 09:28:58 +0000 (09:28 +0000)
cc1: error: unrecognized command line option "-std=gnu90"

meson.build

index b2d0ebe727c28a66e7b826c663944357e88a2a92..16b592a8b9b7a77cef0f2951185c5d1d03c941ed 100644 (file)
@@ -633,7 +633,7 @@ executable('test-build-std-gnuc90',
           'test/build-pedantic.c',
           dependencies : [dep_udev],
           include_directories : [includes_src, includes_include],
-          c_args : ['-std=gnu90', '-Werror'],
+          c_args : ['-std=gnu89', '-Werror'],
           install : false)
 # test for linking with the minimal linker flags
 executable('test-build-linker',