Skip to contentSkip to conversation

site/risc-v: Cache more variables to build libIDL

PATCH Superseded Khem Raj 1 participant 1 message Mar 20, 2018 RISC-V

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 site/risc-v: Cache more variables to build libIDL

These variables force runtime tests during configure they are already cached for other architectures

---
 meta/site/riscv32-linux | 13 +++++++++++++
 meta/site/riscv64-linux |  8 ++++++++
 2 files changed, 21 insertions(+)
meta/site/riscv32-linux +13 -0
index 138aeb0a11..8a8a5fc1c4 100644
@@ -1,6 +1,19 @@
+# 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}
+glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
+glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
+glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
+glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4}
+glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
+
+# libidl
+libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
 
 # startup-notification
 lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
meta/site/riscv64-linux +8 -0
index 138aeb0a11..69ff137c9a 100644
@@ -1,6 +1,14 @@
+# 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}
 
+# libidl
+libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
+
 # startup-notification
 lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
Signature · 1 line
2.16.2