GCC 15.2.0
This commit is contained in:
commit
9747417ce7
1 changed files with 42 additions and 0 deletions
42
gcc.spec
Normal file
42
gcc.spec
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
Name: gcc
|
||||
Version: 15.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: The GNU Compiler Collection
|
||||
|
||||
License: GPL
|
||||
URL: https://gcc.gnu.org
|
||||
Source0: https://mirror.tochlab.net/pub/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc gcc-c++ make gmp-devel mpfr-devel libmpc-devel
|
||||
Requires: bash
|
||||
|
||||
%description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
CC=gcc
|
||||
CXX=g++
|
||||
export CFLAGS="-O2 -pipe"
|
||||
export CXXFLAGS="-O2 -pipe"
|
||||
export LDFLAGS=""
|
||||
./configure --prefix=%{_prefix} --enable-languages=c,c++ --disable-multilib --disable-bootstrap --disable-fixincludes
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
|
||||
%files
|
||||
%license add-license-file-here
|
||||
%doc add-docs-here
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 17 2025 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
||||
-
|
||||
Loading…
Add table
Add a link
Reference in a new issue