From efd2489b39a840a66baa06a2f333e7c15d4ba383 Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Thu, 21 Oct 2010 15:15:09 -0700 Subject: [PATCH] Insert directives to work around a CPU bug. Bug: 3117632 Change-Id: I2fb58e7093984d18d2d2d21edf687206f4ddab31 --- core/combo/TARGET_linux-arm.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk index fbaad1c565..bc398c3a99 100644 --- a/core/combo/TARGET_linux-arm.mk +++ b/core/combo/TARGET_linux-arm.mk @@ -134,6 +134,11 @@ endif TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden +# More flags/options can be added here +ifeq ($(NEED_WORKAROUND_CORTEX_A9_745320),true) +TARGET_GLOBAL_CFLAGS += -DWORKAROUND_CORTEX_A9_745320 +endif + TARGET_RELEASE_CFLAGS := \ -DNDEBUG \ -g \