Commit 688811b9 authored by Joerg Bruehe's avatar Joerg Bruehe

Fix a bug in the RPM spec file:

A "%define" is no shell command, so it must not be the
only line in the "then" or "else" branch of an "if".

Add a ':' line to make the branch non-empty.
parent 6cb7abe6
......@@ -535,6 +535,7 @@ fi
if expr "$CC" : ".*icc.*" > /dev/null ;
then
%define WITH_LIBGCC 0
:
elif expr "$CC" : ".*gcc.*" > /dev/null ;
then
libgcc=`$CC $CFLAGS --print-libgcc-file`
......@@ -544,9 +545,11 @@ then
install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a
else
%define WITH_LIBGCC 0
:
fi
else
%define WITH_LIBGCC 0
:
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