[Libreoffice-commits] core.git: external/icu

Caolán McNamara caolanm at redhat.com
Wed Dec 21 12:08:06 UTC 2016


 external/icu/ExternalProject_icu.mk |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 528ddb973299d6e626b65cb3d247e25d0f1c4a67
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 21 12:05:46 2016 +0000

    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

diff --git a/external/icu/ExternalProject_icu.mk b/external/icu/ExternalProject_icu.mk
index 97f3975..4ff3b9f 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)) \


More information about the Libreoffice-commits mailing list