List:Commits« Previous MessageNext Message »
From:Daniel Fischer Date:July 5 2008 7:45am
Subject:bzr commit into mysql-5.0 branch (df:2638)
View as plain text  
#At file:///shared/home/df/mysql/bazaar/mysql-5.0-build/

 2638 Daniel Fischer	2008-07-05
      ild can not be expected on all matching installs
modified:
  configure.in

=== modified file 'configure.in'
--- a/configure.in	2008-06-10 12:25:21 +0000
+++ b/configure.in	2008-07-05 07:44:10 +0000
@@ -2812,9 +2812,15 @@ EOF
 
 case $SYSTEM_TYPE-$MACHINE_TYPE-$ac_cv_prog_gcc-$have_ndbcluster in
   *solaris*-i?86-no-yes)
-  # ndb fail for whatever strange reason to link Sun Forte/x86
-  # unless using incremental linker
-  CXXFLAGS="$CXXFLAGS -xildon"
+  if $CC -xildon 2>&1 | grep "illegal option" >/dev/null
+  then
+    # This Solaris ld does not support -xildon
+    true
+  else
+    # ndb fail for whatever strange reason to link Sun Forte/x86
+    # unless using incremental linker
+    CXXFLAGS="$CXXFLAGS -xildon"
+  fi
   ;;
   *) ;;
 esac

Thread
bzr commit into mysql-5.0 branch (df:2638) Daniel Fischer5 Jul