summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-12-12 23:06:26 +0100
committerlenz@mysql.com <>2003-12-12 23:06:26 +0100
commit6876df424c7cec283d3ee96e8fc03a72cb0b1cc5 (patch)
treeab5f434f618e2759ed62384db57b496c5f3048d2 /support-files
parent23eef56f2372cde9f95396a932ecd5e24fc55769 (diff)
downloadmariadb-git-6876df424c7cec283d3ee96e8fc03a72cb0b1cc5.tar.gz
- Reworked the Do-rpm build script to be more flexible
- Reworked testing for gcc3 in the RPM spec file a bit
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh6
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