diff options
author | unknown <ndbdev@dl145c.mysql.com> | 2005-05-17 20:07:03 +0200 |
---|---|---|
committer | unknown <ndbdev@dl145c.mysql.com> | 2005-05-17 20:07:03 +0200 |
commit | db4a3d9a703f89e0fbd2a8a8a426e6bc8f4b6571 (patch) | |
tree | a53c8aeae0915a82c835c28adacda9f51c99b0f0 /configure.in | |
parent | 598df75bc9d90e54cecca628720f0bf0afca10ec (diff) | |
parent | afaa3c8923288aaaa41f8f519bbc96f3b72b1d50 (diff) | |
download | mariadb-git-db4a3d9a703f89e0fbd2a8a8a426e6bc8f4b6571.tar.gz |
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
configure.in:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 3341b0217da..2b3944d38b0 100644 --- a/configure.in +++ b/configure.in @@ -359,6 +359,14 @@ AC_SUBST(INSTALL_SCRIPT) export CC CXX CFLAGS LD LDFLAGS AR +if test "$GCC" = "yes" +then + # mysqld requires -fno-implicit-templates. + # Disable exceptions as they seams to create problems with gcc and threads. + # mysqld doesn't use run-time-type-checking, so we disable it. + CXXFLAGS="$CXXFLAGS -fno-implicit-templates -fno-exceptions -fno-rtti" +fi + # Avoid bug in fcntl on some versions of linux AC_MSG_CHECKING("if we should use 'skip-locking' as default for $target_os") # Any variation of Linux |