- always use CXX=gcc (not only when using gcc 3) to avoid a dependency

on libstdc++ and exceptions
This commit is contained in:
unknown 2004-02-12 15:53:47 +01:00
parent 65ec6a41b6
commit 96634253b7

View file

@ -258,10 +258,11 @@ export PATH
# Build the 4.0 Max binary (includes BDB and UDFs and therefore
# cannot be linked statically against the patched glibc)
# If we want to compile with RAID using gcc 3, we need to use
# gcc instead of g++ to avoid linking problems (RAID code is written in C++)
test -z $CXX && test -z $CC && if gcc -v 2>&1 | grep 'gcc version 3' > /dev/null 2>&1
# Use gcc for C and C++ code (to avoid a dependency on libstdc++ and
# including exceptions into the code
test -z $CXX && test -z $CC
then
export CC="gcc"
export CXX="gcc"
fi
@ -573,6 +574,10 @@ fi
# The spec file changelog only includes changes made to the spec file
# itself
%changelog
* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com>
- when using gcc, _always_ use CXX=gcc
* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com>
- added myisam_ftdump to the Server package