summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-03-26 08:35:07 +0200
committermonty@hundin.mysql.fi <>2002-03-26 08:35:07 +0200
commit37522497ac0385ccab7ef3fbe21f86811f49c59f (patch)
treef61ac777ea96fe7862d4e87079ca5a27fce29109
parent21a63669354857c6109fc77b37fad0fd47d01486 (diff)
downloadmariadb-git-37522497ac0385ccab7ef3fbe21f86811f49c59f.tar.gz
Fix path to enable compile with other gcc version
-rw-r--r--support-files/mysql.spec.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index f46a283f814..58909518b25 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -209,6 +209,12 @@ fi
rm -rf $RBR
mkdir -p $RBR
+#
+# Use MYSQL_BUILD_PATH so that we can use a dedicated version of gcc
+#
+PATH=${MYSQL_BUILD_PATH:-/bin:/usr/bin}
+export PATH
+
# We need to build shared libraries separate from mysqld-max because we
# are using --with-other-libc