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
This commit is contained in:
Elliott Hughes 2013-12-16 18:01:19 -08:00
parent 657eadd4b7
commit c294779d7f
1 changed files with 3 additions and 0 deletions

View File

@ -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 += \