GCC 15.2.0

This commit is contained in:
Dmitrii Tochanskii 2025-10-31 14:18:53 +00:00
commit 9747417ce7

42
gcc.spec Normal file
View 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>
-