From 1e211e6bf41f96718b03b33a80cc2df27f2bf65fc91836f64c880f54e2096d40 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 4 Feb 2014 13:04:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=47 --- c99 | 4 ---- gcc.changes | 1 - gcc.spec | 5 ----- 3 files changed, 10 deletions(-) delete mode 100644 c99 diff --git a/c99 b/c99 deleted file mode 100644 index 8c87d39..0000000 --- a/c99 +++ /dev/null @@ -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 "$@" diff --git a/gcc.changes b/gcc.changes index ca0a390..b67a5e2 100644 --- a/gcc.changes +++ b/gcc.changes @@ -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. ------------------------------------------------------------------- diff --git a/gcc.spec b/gcc.spec index 2488edf..e9ade30 100644 --- a/gcc.spec +++ b/gcc.spec @@ -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