mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
- always use CXX=gcc (not only when using gcc 3) to avoid a dependency
on libstdc++ and exceptions
This commit is contained in:
parent
65ec6a41b6
commit
96634253b7
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue