summaryrefslogtreecommitdiffstats
path: root/meta/site
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-13 22:53:51 +0000
commit15af2d527d582ef181d6b9c042844aa89f991f0b (patch)
tree1b9e2f0fb0b40292f0660da70a4671d6d8d65f74 /meta/site
parentf16657df977e54210774812d4e616403c76eb060 (diff)
downloadopenembedded-core-15af2d527d582ef181d6b9c042844aa89f991f0b.tar.gz
openembedded-core-15af2d527d582ef181d6b9c042844aa89f991f0b.tar.bz2
openembedded-core-15af2d527d582ef181d6b9c042844aa89f991f0b.zip
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. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/site')
-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}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
-ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
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}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=1}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
-ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
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 @@
ac_cv_func_setvbuf_reversed=no
ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
-ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
ac_cv_sizeof_double=${ac_cv_sizeof_double=8}