diff options
author | unknown <lenz@mysql.com> | 2003-12-12 23:06:26 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-12-12 23:06:26 +0100 |
commit | 480ae739b6fee93e8fbf9666ab31090e93128a34 (patch) | |
tree | ab5f434f618e2759ed62384db57b496c5f3048d2 /support-files | |
parent | 68935f96c0245d78177c70a1ffb9ddce232b8e7a (diff) | |
download | mariadb-git-480ae739b6fee93e8fbf9666ab31090e93128a34.tar.gz |
- Reworked the Do-rpm build script to be more flexible
- Reworked testing for gcc3 in the RPM spec file a bit
Build-tools/Do-rpm:
Big overhaul:
- Give the spec file name as the option, not the version number (required
to be able to build commercial RPMs, too)
- Some more logging and debugging, more documentation
support-files/mysql.spec.sh:
- made testing for gcc3 a bit more robust and not to stomp on user
settings for CXX
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 658b90d1a3f..1cb25e2ff42 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -260,7 +260,7 @@ export PATH # 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++) -if gcc -v 2>&1 | grep 'version 3' > /dev/null 2>&1 +test -z $CXX && test -z $CC && if gcc -v 2>&1 | grep 'gcc version 3' > /dev/null 2>&1 then export CXX="gcc" fi @@ -567,6 +567,10 @@ fi # The spec file changelog only includes changes made to the spec file # itself %changelog +* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com> + +- made testing for gcc3 a bit more robust + * Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com> - removed dependency on MySQL-client from the MySQL-devel subpackage |