diff options
author | Fredrik Roubert <roubert@google.com> | 2015-03-18 22:57:53 +0100 |
---|---|---|
committer | Fredrik Roubert <roubert@google.com> | 2015-03-19 02:07:23 +0100 |
commit | 1b9b1c8e53a4610438d597fc21d8a147092d05fd (patch) | |
tree | 0817c3203f5f8bd951e23592f2af93752af08746 /luni/src | |
parent | 05c2be0d79aa88447bfd2a4931ef9d0de7d6efff (diff) | |
download | libcore-1b9b1c8e53a4610438d597fc21d8a147092d05fd.zip libcore-1b9b1c8e53a4610438d597fc21d8a147092d05fd.tar.gz libcore-1b9b1c8e53a4610438d597fc21d8a147092d05fd.tar.bz2 |
Set -Wno-deprecated-declarations to access deprecated IDNA2003 API.
In libcore_icu_NativeIDN.cpp there are calls to the deprecated IDNA2003
API which means that this code as of ICU55 no longer will compile
without specifying the -Wno-deprecated-declarations compiler flag.
bug: 19823499
Change-Id: Id5cd5da0d6c3ce62a5c642c99364d29eaebe7709
Diffstat (limited to 'luni/src')
-rw-r--r-- | luni/src/main/native/sub.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/luni/src/main/native/sub.mk b/luni/src/main/native/sub.mk index da866a6..cf2118a 100644 --- a/luni/src/main/native/sub.mk +++ b/luni/src/main/native/sub.mk @@ -64,3 +64,6 @@ LOCAL_STATIC_LIBRARIES += \ LOCAL_SHARED_LIBRARIES += \ liblog \ libnativehelper \ + +# Workaround to let libcore_icu_NativeIDN.cpp use the deprecated IDNA2003 API: +LOCAL_CFLAGS += -Wno-deprecated-declarations |