diff options
author | Joerg Bruehe <joerg@mysql.com> | 2010-02-17 11:13:15 +0100 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2010-02-17 11:13:15 +0100 |
commit | 688811b91359bc2c7e79eb952a40c1a2f9e17f40 (patch) | |
tree | 8b9420d25982637b11cf4bc4ab73f3717ebfe2bc /support-files | |
parent | 6cb7abe667533084e09f3df6951591332138ae0e (diff) | |
download | mariadb-git-688811b91359bc2c7e79eb952a40c1a2f9e17f40.tar.gz |
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.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 905919f053a..18e55d7a06a 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -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 ############################################################################## |