Commit b74c1122 authored by joerg@trift2's avatar joerg@trift2

Merge trift2.:/MySQL/M51/bug33536-5.1

into  trift2.:/MySQL/M51/push-5.1
parents 05c7156a 46b437cd
...@@ -218,11 +218,13 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment