Mesa (staging/18.1): meson: use correct keyword to fix a meson warning

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 6 16:28:02 UTC 2018


Module: Mesa
Branch: staging/18.1
Commit: 3ca69de0c47f6164b4d31087ba82a0f766f6f8c8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ca69de0c47f6164b4d31087ba82a0f766f6f8c8

Author: Jon Turney <jon.turney at dronecode.org.uk>
Date:   Thu Aug  2 14:50:27 2018 +0100

meson: use correct keyword to fix a meson warning

With a sufficently recent meson, the following warning is produced:

WARNING: Passed invalid keyword argument "extra_args".
WARNING: This will become a hard error in the future.

It seems that compiler.links(args:) is meant here.

Signed-off-by: Jon Turney <jon.turney at dronecode.org.uk>
Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit a48c0659e12bfb2d715cceca75eff24ae6024bba)

---

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 5dbb78632e..ba92fb3d85 100644
--- a/meson.build
+++ b/meson.build
@@ -957,7 +957,7 @@ if cc.links('''
       freelocale(loc);
       return 0;
     }''',
-    extra_args : pre_args,
+    args : pre_args,
     name : 'strtod has locale support')
   pre_args += '-DHAVE_STRTOD_L'
 endif




More information about the mesa-commit mailing list