Richard Biener 2014-02-04 13:04:22 +00:00 committed by Git OBS Bridge
parent 8c2d065a9d
commit 1e211e6bf4
3 changed files with 0 additions and 10 deletions

4
c99
View File

@ -1,4 +0,0 @@
#!/bin/sh
# Despite asking for a c99 compiler allow GNU extensions to work
# as we are on a GNU/Linux system anyway
exec /usr/bin/c99 -xc -std=gnu99 "$@"

View File

@ -1,7 +1,6 @@
-------------------------------------------------------------------
Tue Feb 4 10:08:54 UTC 2014 - rguenther@suse.com
- Provide POSIX c99 command executing gcc -std=gnu99. [bnc#861923]
- Remove gcc-z9 wrapper which is obsolete.
-------------------------------------------------------------------

View File

@ -52,7 +52,6 @@ Requires: gcc%{gcc_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc%{gcc_version}
Source: cpp
Source1: c99
Source99: README.packaging
%description
@ -400,15 +399,11 @@ ln -sf g++-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/c++
ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
# Provide the POSIX c99 command
cp $RPM_SOURCE_DIR/c99 $RPM_BUILD_ROOT%{_prefix}/bin/
chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/c99
%files
%defattr(-,root,root)
%{_prefix}/bin/gcc
%{_prefix}/bin/cc
%{_prefix}/bin/c99
%{_prefix}/bin/gcov
%{_prefix}/bin/gcc-ar
%{_prefix}/bin/gcc-nm