]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- use %{__cc} ac %%{__cc} on system with gcc 2.95.x (so now mysql will not be mysql-3_23_49-6
authorkloczek <kloczek@pld-linux.org>
Sat, 18 May 2002 20:07:32 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  linked with libstdc++ if it is possible).

Changed files:
    mysql.spec -> 1.123

mysql.spec

index 1c47de3e7932297e98b3e13655e0b8606cb96a55..d2da465c9a467fc7f60d598b4e0514ccdec86d68 100644 (file)
@@ -50,6 +50,10 @@ Obsoletes:   mysql-server
 
 %define                _libexecdir     %{_sbindir}
 %define                _localstatedir  /var/lib/mysql
+%define                _gcc_ver        %(%{__cc} --version | cut -b 1)
+%if %{_gcc_ver} == 2
+%define                __cxx           "%{__cc}"
+%endif
 
 %description
 MySQL is a true multi-user, multi-threaded SQL (Structured Query
This page took 0.153816 seconds and 4 git commands to generate.