From: yumaoka Date: Wed, 19 May 2021 20:35:04 +0000 (+0000) Subject: ICU-21623 Removed linker flag -dexpall for AIX xlclang build. X-Git-Tag: cldr/2021-06-15~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5518bb0c84ad8cc27d5a9b684ea322cb7dc979fe;p=icu ICU-21623 Removed linker flag -dexpall for AIX xlclang build. See #1727 --- diff --git a/icu4c/source/config/mh-aix-gcc b/icu4c/source/config/mh-aix-gcc index 62692bb74a3..232f1be90d0 100644 --- a/icu4c/source/config/mh-aix-gcc +++ b/icu4c/source/config/mh-aix-gcc @@ -28,8 +28,8 @@ LINK.cc= $(AIX_PREDELETE) $(CXX) $(CXXFLAGS) $(LDFLAGS) LD_SOOPTIONS= -Wl,-bsymbolic ## Commands to make a shared library -SHLIB.c= $(AIX_PREDELETE) $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-bexpall $(LD_SOOPTIONS) -SHLIB.cc= $(AIX_PREDELETE) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-bexpall $(LD_SOOPTIONS) +SHLIB.c= $(AIX_PREDELETE) $(CC) $(CFLAGS) $(LDFLAGS) -shared $(LD_SOOPTIONS) +SHLIB.cc= $(AIX_PREDELETE) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(LD_SOOPTIONS) ## Compiler switch to embed a runtime search path LD_RPATH= -I diff --git a/icu4c/source/runConfigureICU b/icu4c/source/runConfigureICU index 4b3d24a3826..25963505e44 100755 --- a/icu4c/source/runConfigureICU +++ b/icu4c/source/runConfigureICU @@ -143,8 +143,8 @@ case $platform in if [ ! -x $CXX ]; then echo "ERROR: xlclang++ was not found, please check the PATH to make sure it is correct."; exit 1 fi - RELEASE_CFLAGS="-O3" - RELEASE_CXXFLAGS="-O3" + RELEASE_CFLAGS="-O3 -qstrict=ieeefp" + RELEASE_CXXFLAGS="-O3 -qstrict=ieeefp" ;; AIX/GCC) THE_OS=AIX