forked from openkylin/platform_build
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:
parent
657eadd4b7
commit
c294779d7f
|
@ -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 += \
|
||||
|
|
Loading…
Reference in New Issue