aboutsummaryrefslogtreecommitdiffstats
path: root/testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch
blob: aa7981825c0a64f2dfc17da2bd8a9bd8c0a4a718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb Mon Sep 17 00:00:00 2001
From: Yasushi SHOJI <yashi@spacecubics.com>
Date: Wed, 26 Jan 2022 14:53:56 +0900
Subject: [PATCH] meson.build: Fix description keyword in configuration set()

There are two typo for the keyword 'description' for config data set()
in meson.build.

Meson 0.61 doesn't warn about this but a post v0.61 with the
commit mesonbuild/meson/commit/574525673f6 will error out with:

   meson.build:737:10: ERROR: configuration_data.set got unknown
   keyword arguments "descrption"

This is reported by @tcal-x.

Closes #244.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
---
 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index f0d4c7c312..4f1c4ef2a9 100644
--- a/meson.build
+++ b/meson.build
@@ -736,10 +736,10 @@ conf_data.set('HAVE_BUILTIN_EXPECT', have_builtin_expect, description: 'Compiler
 conf_data.set('HAVE_ALLOC_SIZE', have_alloc_size, description: 'The compiler REALLY has the attribute __alloc_size__')
 conf_data.set('_HAVE_ATTRIBUTE_ALWAYS_INLINE',
 	      cc.has_function_attribute('always_inline'),
-	      descrption: 'The compiler supports the always_inline function attribute')
+	      description: 'The compiler supports the always_inline function attribute')
 conf_data.set('_HAVE_ATTRIBUTE_GNU_INLINE',
 	      cc.has_function_attribute('gnu_inline'),
-	      descrption: 'The compiler supports the gnu_inline function attribute')
+	      description: 'The compiler supports the gnu_inline function attribute')
 
 # Obsolete newlib options
 conf_data.set('_WANT_USE_LONG_TIME_T', get_option('newlib-long-time_t'), description: 'Obsoleted. Define time_t to long instead of using a 64-bit type')