mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Merge trift2.:/MySQL/M51/bug33536-5.1
into trift2.:/MySQL/M51/push-5.1
This commit is contained in:
@@ -218,11 +218,13 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then
|
|||||||
# If we compiled with gcc, copy libgcc.a to the dist as libmygcc.a
|
# If we compiled with gcc, copy libgcc.a to the dist as libmygcc.a
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
if [ x"@GXX@" = x"yes" ] ; then
|
if [ x"@GXX@" = x"yes" ] ; then
|
||||||
gcclib=`@CC@ @CFLAGS@ --print-libgcc-file`
|
gcclib=`@CC@ @CFLAGS@ --print-libgcc-file 2>/dev/null` || true
|
||||||
if [ $? -ne 0 ] ; then
|
if [ -z "$gcclib" ] ; then
|
||||||
echo "Warning: Couldn't find libgcc.a!"
|
echo "Warning: Compiler doesn't tell libgcc.a!"
|
||||||
|
elif [ -f "$gcclib" ] ; then
|
||||||
|
$CP $gcclib $BASE/lib/libmygcc.a
|
||||||
else
|
else
|
||||||
$CP $gcclib $DEST/lib/libmygcc.a
|
echo "Warning: Compiler result '$gcclib' not found / no file!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user