diff options
author | Doug Kwan <dougkwan@google.com> | 2010-06-04 12:04:50 -0700 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2010-06-04 12:04:50 -0700 |
commit | 8cc4fcf4f6adcbc0e0aebfc24fbad9a4cddf2cfb (patch) | |
tree | 75c6a89eec0f79f5a1c08b9bd526519335cc23e9 /Android.mk | |
parent | e276c2d0434cc38c4b71ea12e09ccbb93bdee39c (diff) | |
download | external_webkit-8cc4fcf4f6adcbc0e0aebfc24fbad9a4cddf2cfb.zip external_webkit-8cc4fcf4f6adcbc0e0aebfc24fbad9a4cddf2cfb.tar.gz external_webkit-8cc4fcf4f6adcbc0e0aebfc24fbad9a4cddf2cfb.tar.bz2 |
Work around build problem caused by too many stubs in a stub group.
Change-Id: I7ec73e2379db205330deb3e612700e5295e0b4d4
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -360,8 +360,10 @@ LOCAL_STATIC_LIBRARIES += libjs endif LOCAL_LDFLAGS := -fvisibility=hidden # This is required to work around a gold problem. This can be removed once -# gold is fixed. -LOCAL_LDFLAGS += -fuse-ld=bfd +# 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 + LOCAL_CFLAGS := $(WEBKIT_CFLAGS) LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES) LOCAL_PATH := $(BASE_PATH) |