[V3] site/risc-v: Cache common variables to build libIDL

Message ID 20180320165640.23753-1-raj.khem@gmail.com
State New
Headers show
Series
  • [V3] site/risc-v: Cache common variables to build libIDL
Related show

Commit Message

Khem Raj March 20, 2018, 4:56 p.m.
These variables force runtime tests during configure
they are already cached for other architectures

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
Changes from v1 -> v2:
- Drop libIDL specific setting since they need to be in meta-gnome

Change from v2 -> v3:
- Drop glib_cv_sizeof_* variable caching

 meta/site/riscv32-linux | 5 +++++
 meta/site/riscv64-linux | 5 +++++
 2 files changed, 10 insertions(+)

-- 
2.16.2

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/site/riscv32-linux b/meta/site/riscv32-linux
index 138aeb0a11..97de628e22 100644
--- a/meta/site/riscv32-linux
+++ b/meta/site/riscv32-linux
@@ -1,3 +1,8 @@ 
+# general
+ac_cv_alignof_guint32=4
+ac_cv_alignof_guint64=8
+ac_cv_alignof_unsigned_long=4
+
 # glib-2.0
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 glib_cv_uscore=${glib_cv_uscore=no}
diff --git a/meta/site/riscv64-linux b/meta/site/riscv64-linux
index 138aeb0a11..38bc5f044d 100644
--- a/meta/site/riscv64-linux
+++ b/meta/site/riscv64-linux
@@ -1,3 +1,8 @@ 
+# general
+ac_cv_alignof_guint32=4
+ac_cv_alignof_guint64=8
+ac_cv_alignof_unsigned_long=8
+
 # glib-2.0
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 glib_cv_uscore=${glib_cv_uscore=no}