diff options
author | unknown <joerg@trift2.> | 2007-12-28 15:44:35 +0100 |
---|---|---|
committer | unknown <joerg@trift2.> | 2007-12-28 15:44:35 +0100 |
commit | b08baf917c646918b66e39717dee196214eee0d3 (patch) | |
tree | b383628d2d13b44b0865dcdf1fd983cfa9bde371 /scripts | |
parent | 471437fd47bc10ce89b290c46ffcbb260aaa12f4 (diff) | |
parent | be2c41aadf0338a2ccfae8232394f34dabf28266 (diff) | |
download | mariadb-git-b08baf917c646918b66e39717dee196214eee0d3.tar.gz |
Merge trift2.:/MySQL/M50/bug33536-5.0
into trift2.:/MySQL/M50/push-5.0
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/make_binary_distribution.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh index a87bb03526d..8598a022669 100644 --- a/scripts/make_binary_distribution.sh +++ b/scripts/make_binary_distribution.sh @@ -400,11 +400,13 @@ BASE=$BASE2 # if [ x"@GXX@" = x"yes" ] ; then - gcclib=`@CC@ @CFLAGS@ --print-libgcc-file` - if [ $? -ne 0 ] ; then - echo "Warning: Couldn't find libgcc.a!" - else + gcclib=`@CC@ @CFLAGS@ --print-libgcc-file 2>/dev/null` || true + if [ -z "$gcclib" ] ; then + echo "Warning: Compiler doesn't tell libgcc.a!" + elif [ -f "$gcclib" ] ; then $CP $gcclib $BASE/lib/libmygcc.a + else + echo "Warning: Compiler result '$gcclib' not found / no file!" fi fi |