diff options
author | Daniel Fischer <df@sun.com> | 2008-07-05 09:44:10 +0200 |
---|---|---|
committer | Daniel Fischer <df@sun.com> | 2008-07-05 09:44:10 +0200 |
commit | 43af930e7115e1b62355eebc22178f2ad306d1e7 (patch) | |
tree | da090a5c54e68370e2548828e3599e84e4565369 /configure.in | |
parent | e346a69074771834ca916db0cd7be5b3e440f68c (diff) | |
download | mariadb-git-43af930e7115e1b62355eebc22178f2ad306d1e7.tar.gz |
ild can not be expected on all matching installs
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 247a17da940..c34cd661bbd 100644 --- a/configure.in +++ b/configure.in @@ -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 |