diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2017-12-18 19:42:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-14 09:11:57 +0000 |
commit | fca4b2e136209cdf82e3ef748139e1225efeca51 (patch) | |
tree | ac0bc0f411b05ee90b8570dce04c5e8e3b585c70 /meta/site | |
parent | 8418f5555d6b5416efa7ac83289ed5bddd1d3c5a (diff) | |
download | poky-fca4b2e136209cdf82e3ef748139e1225efeca51.tar.gz |
site/*-linux: don't cache ac_cv_sizeof_bool
The value was hardcoded from the time it couldn't be computed, which
is no longer the case. After C99 'bool' is only defined if stdbool.h
is included, it's implementation defined and not required to be 1, so
caching it doesn't make sense and certain recipes whoose code test
ac_cv_sizeof_bool fail to build.
(From OE-Core rev: 15af2d527d582ef181d6b9c042844aa89f991f0b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
-rw-r--r-- | meta/site/arm-linux | 1 | ||||
-rw-r--r-- | meta/site/nios2-linux | 1 | ||||
-rw-r--r-- | meta/site/powerpc32-linux | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/meta/site/arm-linux b/meta/site/arm-linux index 7bf073eb77..fb3c81d0e9 100644 --- a/meta/site/arm-linux +++ b/meta/site/arm-linux | |||
@@ -3,7 +3,6 @@ ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} | |||
3 | ac_cv_sizeof_char=${ac_cv_sizeof_char=1} | 3 | ac_cv_sizeof_char=${ac_cv_sizeof_char=1} |
4 | ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1} | 4 | ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1} |
5 | ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} | 5 | ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} |
6 | ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1} | ||
7 | ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4} | 6 | ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4} |
8 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 7 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
9 | ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} | 8 | ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} |
diff --git a/meta/site/nios2-linux b/meta/site/nios2-linux index 24bc5b033a..67a3fc8a75 100644 --- a/meta/site/nios2-linux +++ b/meta/site/nios2-linux | |||
@@ -232,7 +232,6 @@ ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} | |||
232 | ac_cv_sizeof_char=${ac_cv_sizeof_char=1} | 232 | ac_cv_sizeof_char=${ac_cv_sizeof_char=1} |
233 | ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1} | 233 | ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1} |
234 | ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} | 234 | ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} |
235 | ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1} | ||
236 | ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4} | 235 | ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4} |
237 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 236 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
238 | ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} | 237 | ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} |
diff --git a/meta/site/powerpc32-linux b/meta/site/powerpc32-linux index 06d961f5ce..f37e915cb3 100644 --- a/meta/site/powerpc32-linux +++ b/meta/site/powerpc32-linux | |||
@@ -1,6 +1,5 @@ | |||
1 | ac_cv_func_setvbuf_reversed=no | 1 | ac_cv_func_setvbuf_reversed=no |
2 | ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} | 2 | ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} |
3 | ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1} | ||
4 | ac_cv_sizeof_char=${ac_cv_sizeof_char=1} | 3 | ac_cv_sizeof_char=${ac_cv_sizeof_char=1} |
5 | ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} | 4 | ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} |
6 | ac_cv_sizeof_double=${ac_cv_sizeof_double=8} | 5 | ac_cv_sizeof_double=${ac_cv_sizeof_double=8} |