]> granicus.if.org Git - icu/commitdiff
ICU-21623 Removed linker flag -dexpall for AIX xlclang build.
authoryumaoka <y.umaoka@gmail.com>
Wed, 19 May 2021 20:35:04 +0000 (20:35 +0000)
committerYoshito Umaoka <yumaoka@users.noreply.github.com>
Thu, 20 May 2021 15:49:40 +0000 (11:49 -0400)
See #1727

icu4c/source/config/mh-aix-gcc
icu4c/source/runConfigureICU

index 62692bb74a3797144d8697ade6d72b6a2762587f..232f1be90d0a2618b2163d3274aca86204415625 100644 (file)
@@ -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
index 4b3d24a3826b66936c0bef431f6d0d88fce44154..25963505e440204ec9db5160b85791bc7cd32b6a 100755 (executable)
@@ -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