diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2014-12-17 22:24:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-17 22:24:57 +0000 |
commit | 38dba7db7d7a5a620093b8cd8e242fa03cdd6b26 (patch) | |
tree | 7f0ea0094e4ae033409ab2a259380a3fb966f26e | |
parent | eae80e8c17b6292cff0b10002bbc4398fc93c435 (diff) | |
parent | 471688ea52d1b47d382de726eb520a35e6a70a4b (diff) | |
download | android_external_iproute2-38dba7db7d7a5a620093b8cd8e242fa03cdd6b26.tar.gz android_external_iproute2-38dba7db7d7a5a620093b8cd8e242fa03cdd6b26.tar.bz2 android_external_iproute2-38dba7db7d7a5a620093b8cd8e242fa03cdd6b26.zip |
Merge "Temporarily disable gc-sections optimization"
-rw-r--r-- | lib/Android.mk | 3 | ||||
-rw-r--r-- | tc/Android.mk | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/Android.mk b/lib/Android.mk index 75d26e2..f0b12ad 100644 --- a/lib/Android.mk +++ b/lib/Android.mk @@ -35,6 +35,9 @@ LOCAL_CFLAGS := -O2 -g -W -Wall \ -Wno-unused-parameter \ -Werror +# This is a work around for b/18403920 +LOCAL_LDFLAGS := -Wl,--no-gc-sections + include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) diff --git a/tc/Android.mk b/tc/Android.mk index 9ac59a5..f137d3e 100644 --- a/tc/Android.mk +++ b/tc/Android.mk @@ -20,5 +20,8 @@ LOCAL_CFLAGS := -O2 -g -W -Wall -Wno-pointer-arith -Wno-sign-compare -Werror \ -Wno-unused-parameter \ -Wno-missing-field-initializers +# This is a work around for b/18403920 +LOCAL_LDFLAGS := -Wl,--no-gc-sections + include $(BUILD_EXECUTABLE) |