summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-01-05 16:53:03 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-01-05 16:53:03 +0100
commit7fb6aa34a0b5ff6f1323164f6fe43c6c1b3ce834 (patch)
treed8e57c7de72cf6c02828d2dd315324b142df11d0 /scripts
parent679402dab66b96a6f815f33342127384b1b4af58 (diff)
downloadmariadb-git-7fb6aa34a0b5ff6f1323164f6fe43c6c1b3ce834.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 scripts/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 support-files/mysql.spec.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