mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
||||
##############################################################################
|
||||
|
Reference in New Issue
Block a user