diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-21 12:05:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-21 12:07:25 +0000 |
commit | 528ddb973299d6e626b65cb3d247e25d0f1c4a67 (patch) | |
tree | 2f547c0d7a5887e9035606cd9e4fe7c28ed6e114 /external/icu | |
parent | d235f643680084fd54e0b2dc95605e8781ac6b88 (diff) |
add the same build fix that oss-fuzz contains for icu for our icu
cause it doesn't build otherwise
see oss-fuzz/projects/icu/build.sh
Change-Id: I7e143aa58ec2a00f480496a908e07988a3bde869
Diffstat (limited to 'external/icu')
-rw-r--r-- | external/icu/ExternalProject_icu.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/external/icu/ExternalProject_icu.mk b/external/icu/ExternalProject_icu.mk index 97f39751c4d9..4ff3b9fa5937 100644 --- a/external/icu/ExternalProject_icu.mk +++ b/external/icu/ExternalProject_icu.mk @@ -56,6 +56,7 @@ icu_CFLAGS:=" \ $(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \ $(if $(filter GCC,$(COM)),-fno-strict-aliasing) \ $(if $(filter $(true),$(gb_SYMBOL)),$(gb_DEBUGINFO_FLAGS)) \ + $(if $(filter FUZZERS,$(BUILD_TYPE)),-DU_USE_STRTOD_L=0) \ $(if $(filter ANDROID,$(OS)),-fvisibility=hidden -fno-omit-frame-pointer)" icu_CXXFLAGS:="$(CXXFLAGS) $(CXXFLAGS_CXX11) \ $(if $(filter IOS,$(OS)),-DUCONFIG_NO_FILE_IO) \ @@ -63,6 +64,7 @@ icu_CXXFLAGS:="$(CXXFLAGS) $(CXXFLAGS_CXX11) \ $(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \ $(if $(filter GCC,$(COM)),-fno-strict-aliasing) \ $(if $(filter $(true),$(gb_SYMBOL)),$(gb_DEBUGINFO_FLAGS)) \ + $(if $(filter FUZZERS,$(BUILD_TYPE)),-DU_USE_STRTOD_L=0) \ $(if $(filter ANDROID,$(OS)),-fvisibility=hidden -fno-omit-frame-pointer)" icu_LDFLAGS:=" \ $(if $(ENABLE_LTO),$(gb_LTOFLAGS)) \ |