From c294779d7f6ddabbb6e009fa6dafa9d70ce4eb29 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 16 Dec 2013 18:01:19 -0800 Subject: [PATCH] Make aarch64 more like arm wrt strict-aliasing. All thumb code compiles with -fno-strict-aliasing. Let's not make aarch64 porting any more difficult than it needs to be. Change-Id: I94874df1217b69532c328d7c86c9961631ebde8a --- core/combo/TARGET_linux-aarch64.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/combo/TARGET_linux-aarch64.mk b/core/combo/TARGET_linux-aarch64.mk index 1b2443505..d5eba6e11 100644 --- a/core/combo/TARGET_linux-aarch64.mk +++ b/core/combo/TARGET_linux-aarch64.mk @@ -73,6 +73,9 @@ endif TARGET_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined +TARGET_GLOBAL_CFLAGS += \ + -fno-strict-aliasing \ + android_config_h := $(call select-android-config-h,linux-aarch64) TARGET_GLOBAL_CFLAGS += \