summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2017-12-18 19:42:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-14 09:11:57 +0000
commitfca4b2e136209cdf82e3ef748139e1225efeca51 (patch)
treeac0bc0f411b05ee90b8570dce04c5e8e3b585c70
parent8418f5555d6b5416efa7ac83289ed5bddd1d3c5a (diff)
downloadpoky-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>
-rw-r--r--meta/site/arm-linux1
-rw-r--r--meta/site/nios2-linux1
-rw-r--r--meta/site/powerpc32-linux1
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}
3ac_cv_sizeof_char=${ac_cv_sizeof_char=1} 3ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
4ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1} 4ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1}
5ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} 5ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
6ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
7ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4} 6ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4}
8ac_cv_sizeof_int=${ac_cv_sizeof_int=4} 7ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
9ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} 8ac_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}
232ac_cv_sizeof_char=${ac_cv_sizeof_char=1} 232ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
233ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1} 233ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1}
234ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} 234ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
235ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
236ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4} 235ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4}
237ac_cv_sizeof_int=${ac_cv_sizeof_int=4} 236ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
238ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4} 237ac_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 @@
1ac_cv_func_setvbuf_reversed=no 1ac_cv_func_setvbuf_reversed=no
2ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} 2ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
3ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
4ac_cv_sizeof_char=${ac_cv_sizeof_char=1} 3ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
5ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} 4ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
6ac_cv_sizeof_double=${ac_cv_sizeof_double=8} 5ac_cv_sizeof_double=${ac_cv_sizeof_double=8}