Skip to content

Commit

Permalink
Add FORCE_ALIGNMENT_64BIT for armabi-v7a
Browse files Browse the repository at this point in the history
Change-Id: I81f61bd02cb0bce6f886e9977126a1c793f7a7aa
  • Loading branch information
gaoshun.li authored and qiaojbao committed Jan 4, 2022
1 parent 39f8940 commit 321f0aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cwpack_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@
/*
* Some processors demand that 64 bit integer access is aligned.
* In that case define FORCE_ALIGNMENT_64BIT
*
* armeabi-v7a does not support 64-bit unaligned accesses, but armv8 and x86 do
*/

/* #define FORCE_ALIGNMENT_64BIT */
#if defined(__ARM_ARCH_7__)
#define FORCE_ALIGNMENT_64BIT
#endif



Expand Down

0 comments on commit 321f0aa

Please sign in to comment.