Skip to content

Commit

Permalink
Fix SIGBUS error which is caused by unaliged address access on armeab…
Browse files Browse the repository at this point in the history
…i-v7a

Change-Id: I8f6ccb93fdd1781de99bf616ef3a03e0da385154
  • Loading branch information
guangxu2 authored and qiaojbao committed Apr 28, 2022
1 parent 321f0aa commit 4f8cf05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cwpack_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* armeabi-v7a does not support 64-bit unaligned accesses, but armv8 and x86 do
*/

#if defined(__ARM_ARCH_7__)
#if defined(__arm__)
#define FORCE_ALIGNMENT_64BIT
#endif

Expand Down

0 comments on commit 4f8cf05

Please sign in to comment.