Martin Pluskal 2016-09-11 08:01:53 +00:00 committed by Git OBS Bridge
parent caf3ac227f
commit 4e0fced85b
2 changed files with 6 additions and 5 deletions

View File

@ -70,7 +70,7 @@ Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com
* Bail out on too hard compiler option -P.
* Fixed clang test suite when running on Linux.
* Fixed build and test for MinGW32 and Windows.
- Add fortran alias
- Add fortran amd objc symlinks
-------------------------------------------------------------------
Fri Aug 26 13:27:20 UTC 2016 - tchvatal@suse.com

View File

@ -29,12 +29,12 @@ Source2: %{name}.keyring
BuildRequires: xz
BuildRequires: zlib-devel
Provides: distcc:%{_bindir}/ccache
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ccache is a compiler cache. It speeds up recompilation by caching the result of
previous compilations and detecting when the same compilation is being done
again. Supported languages are C, C++, Objective-C and Objective-C++.
ccache is a compiler cache. It speeds up recompilation by caching the
result of previous compilations and detecting when the same compilation is
being done again. Supported languages are C, C++, Objective-C and
Objective-C++.
%prep
%setup -q
@ -51,6 +51,7 @@ mkdir -p %{buildroot}/%{_libdir}/%{name}
cd %{buildroot}/%{_libdir}/%{name}
ln -sf ../../bin/%{name} gcc
ln -sf ../../bin/%{name} g++
ln -sf ../../bin/%{name} gcc-objc
ln -sf ../../bin/%{name} gfortran
# do the same for clang
ln -sf ../../bin/%{name} clang