summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch
blob: 448bde73fc973c6ab1243d3859797d77012005a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
RISC-V supports unaligned accesses, therefore enable it

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/m4/as-unaligned-access.m4
+++ b/m4/as-unaligned-access.m4
@@ -5,7 +5,7 @@ AC_DEFUN([AS_UNALIGNED_ACCESS], [
   AC_MSG_CHECKING([if unaligned memory access works correctly])
   if test x"$as_cv_unaligned_access" = x ; then
     case $host in
-      alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
+      alpha*|arm*|hp*|mips*|riscv*|sh*|sparc*|ia64*)
         _AS_ECHO_N([(blacklisted) ])
         as_cv_unaligned_access=no
 	;;
OpenPOWER on IntegriCloud