diff options
| author | Doug Kwan <dougkwan@google.com> | 2010-07-04 01:11:23 -0700 |
|---|---|---|
| committer | Doug Kwan <dougkwan@google.com> | 2010-07-04 01:11:23 -0700 |
| commit | 85dec77e821ae98054f8e09ba3180c148a9264d6 (patch) | |
| tree | 6ac2b5a2dcfec32fcc906552f28247c67d739705 /Android.libv8.mk | |
| parent | 9dcf7e2f83591d471e88bf7d230651900b8e424b (diff) | |
| download | android_external_v8-85dec77e821ae98054f8e09ba3180c148a9264d6.tar.gz android_external_v8-85dec77e821ae98054f8e09ba3180c148a9264d6.tar.bz2 android_external_v8-85dec77e821ae98054f8e09ba3180c148a9264d6.zip | |
Work around a problem triggered by -fdata-sections
Change-Id: I7330d1117187594b54e178e572ebbf9cbe73e9d4
Diffstat (limited to 'Android.libv8.mk')
| -rw-r--r-- | Android.libv8.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.libv8.mk b/Android.libv8.mk index 192a4775..8a5173a8 100644 --- a/Android.libv8.mk +++ b/Android.libv8.mk @@ -85,6 +85,11 @@ ifeq ($(DEBUG_V8),true) LOCAL_CFLAGS += -DDEBUG -UNDEBUG endif +# Work around a problem in v8 triggered by -fdata-sections. +ifeq ($(TARGET_ARCH),arm) +LOCAL_CFLAGS += -fno-data-sections +endif + LOCAL_C_INCLUDES += bionic/libc/include $(LOCAL_PATH)/src include $(BUILD_STATIC_LIBRARY) |
