summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-01-05 16:53:03 +0100
committerkent@mysql.com/kent-amd64.(none) <>2007-01-05 16:53:03 +0100
commit528b457644eb6907c9b25c5842d9824451ca6091 (patch)
treed8e57c7de72cf6c02828d2dd315324b142df11d0 /scripts
parentf61a873c60c2e619b402a1add2d95a75ddc95b58 (diff)
downloadmariadb-git-528b457644eb6907c9b25c5842d9824451ca6091.tar.gz
mysql.spec.sh, make_binary_distribution.sh:
Add CFLAGS to gcc call with --print-libgcc-file, to make sure the correct "libgcc.a" path is returned for the 32/64 bit architecture
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_binary_distribution.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh
index 6359eb009ce..917ac0a19c1 100644
--- a/scripts/make_binary_distribution.sh
+++ b/scripts/make_binary_distribution.sh
@@ -322,7 +322,7 @@ BASE=$BASE2
#
if [ x"@GXX@" = x"yes" ] ; then
- gcclib=`@CC@ --print-libgcc-file`
+ gcclib=`@CC@ @CFLAGS@ --print-libgcc-file`
if [ $? -ne 0 ] ; then
echo "Warning: Couldn't find libgcc.a!"
else