From 3f850c8cca17a6dcd601ed73b9b5ac654b0ec482 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 8 Jun 2010 13:10:33 -0700 Subject: Fix build. Fix build by bracketing use of --stub-group-size with "!sim". Change-Id: I910dd80f743f22bae56e6329ad52f0889a73514a --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index e8c2f08..c3a8dd5 100644 --- a/Android.mk +++ b/Android.mk @@ -359,10 +359,12 @@ ifeq ($(JAVASCRIPT_ENGINE),jsc) LOCAL_STATIC_LIBRARIES += libjs endif LOCAL_LDFLAGS := -fvisibility=hidden +ifneq ($(TARGET_SIMULATOR),true) # This is required to work around a gold problem. This can be removed once # gold is fixed. Gold generates more stubs than ld so it is easier for gold # to have too many stubs in a stub group. LOCAL_LDFLAGS += -Wl,--stub-group-size=1024276 +endif LOCAL_CFLAGS := $(WEBKIT_CFLAGS) LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES) -- cgit v1.1