summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-03-26 08:35:07 +0200
committerunknown <monty@hundin.mysql.fi>2002-03-26 08:35:07 +0200
commit061038b7f01a348a958d2cb9f38b3c28c5e34346 (patch)
treef61ac777ea96fe7862d4e87079ca5a27fce29109 /support-files
parentfb8e70c2c94dcd82efd35b2b8de6b3a58e422ac3 (diff)
downloadmariadb-git-061038b7f01a348a958d2cb9f38b3c28c5e34346.tar.gz
Fix path to enable compile with other gcc version
Diffstat (limited to 'support-files')
-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