gcc/gcc.spec
2025-10-31 14:18:53 +00:00

42 lines
771 B
RPMSpec

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>
-