diff --git a/arm-multilib/json/variants/aarch64a_be.json b/arm-multilib/json/variants/aarch64a_be.json index 429c1c65..eba9806c 100644 --- a/arm-multilib/json/variants/aarch64a_be.json +++ b/arm-multilib/json/variants/aarch64a_be.json @@ -3,7 +3,7 @@ "common": { "TARGET_ARCH": "aarch64a", "VARIANT": "aarch64a_be", - "COMPILE_FLAGS": "-march=armv8-a -mbig-endian", + "COMPILE_FLAGS": "-march=armv8-a -mbig-endian -mno-unaligned-access", "ENABLE_EXCEPTIONS": "OFF", "ENABLE_RTTI": "OFF", "TEST_EXECUTOR": "fvp", diff --git a/arm-multilib/json/variants/aarch64a_be_exn_rtti.json b/arm-multilib/json/variants/aarch64a_be_exn_rtti.json index e0471393..33b77da5 100644 --- a/arm-multilib/json/variants/aarch64a_be_exn_rtti.json +++ b/arm-multilib/json/variants/aarch64a_be_exn_rtti.json @@ -3,7 +3,7 @@ "common": { "TARGET_ARCH": "aarch64a", "VARIANT": "aarch64a_be_exn_rtti", - "COMPILE_FLAGS": "-march=armv8-a -mbig-endian", + "COMPILE_FLAGS": "-march=armv8-a -mbig-endian -mno-unaligned-access", "ENABLE_EXCEPTIONS": "ON", "ENABLE_RTTI": "ON", "TEST_EXECUTOR": "fvp",