summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/Android.mk
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2010-03-04 17:13:36 -0800
committerBrint E. Kriebel <github@bekit.net>2010-12-21 15:26:54 -0800
commit251e278ddf1470cd148f066ef9cc82f30c10709b (patch)
tree3b8ab125ab967fac5f9afcd063183d110ccfdf24 /opengl/libagl/Android.mk
parentec5be46dbb57a96478df2fdefd258a3e9a5438ad (diff)
downloadframeworks_base-251e278ddf1470cd148f066ef9cc82f30c10709b.zip
frameworks_base-251e278ddf1470cd148f066ef9cc82f30c10709b.tar.gz
frameworks_base-251e278ddf1470cd148f066ef9cc82f30c10709b.tar.bz2
[opengl] implement work around for tegra errata 657451
copy the tegra errata work around compile flags from bionic, to pick up the correct __get_tls implementation Change-Id: Ifccd4f5f382cc05328222c92da7f621faa1ec507
Diffstat (limited to 'opengl/libagl/Android.mk')
-rw-r--r--opengl/libagl/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/libagl/Android.mk b/opengl/libagl/Android.mk
index b5c018f..5017478 100644
--- a/opengl/libagl/Android.mk
+++ b/opengl/libagl/Android.mk
@@ -45,6 +45,9 @@ ifneq ($(TARGET_SIMULATOR),true)
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
endif
+ ifeq ($(TARGET_HAVE_TEGRA_ERRATA_657451),true)
+ LOCAL_CFLAGS += -DHAVE_TEGRA_ERRATA_657451
+ endif
LOCAL_C_INCLUDES += bionic/libc/private
endif