From 061038b7f01a348a958d2cb9f38b3c28c5e34346 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 26 Mar 2002 08:35:07 +0200 Subject: Fix path to enable compile with other gcc version --- support-files/mysql.spec.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'support-files') 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 -- cgit v1.2.1