Add cc, cxx, and cpp macros
These macros are being added as part of this Fedora change: https://fedoraproject.org/wiki/Changes/CompilerPolicy
This commit is contained in:
parent
43dfe7d6f0
commit
73aefaaac7
6
macros
6
macros
@ -66,6 +66,12 @@
|
|||||||
%__cxx %{expand:%%{__cxx_%{toolchain}}}
|
%__cxx %{expand:%%{__cxx_%{toolchain}}}
|
||||||
%__cpp %{expand:%%{__cpp_%{toolchain}}}
|
%__cpp %{expand:%%{__cpp_%{toolchain}}}
|
||||||
|
|
||||||
|
# Compiler macros to use for invoking compilers in spec files for packages that
|
||||||
|
# want to use the default compiler and don't care which compiler that is.
|
||||||
|
%cc %{__cc}
|
||||||
|
%cxx %{__cxx}
|
||||||
|
%cpp %{__cpp}
|
||||||
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# ---- compiler flags.
|
# ---- compiler flags.
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 195
|
Version: 196
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -215,6 +215,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
|
|||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 16 2021 Tom Stellard <tstellar@redhat.com> - 196-1
|
||||||
|
- Add cc, cxx, and cpp macros
|
||||||
|
|
||||||
* Sun Aug 15 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 195-1
|
* Sun Aug 15 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 195-1
|
||||||
- Fix macros.build-constraints' %%limit_build
|
- Fix macros.build-constraints' %%limit_build
|
||||||
- number of CPUs will never be set to less than 1
|
- number of CPUs will never be set to less than 1
|
||||||
|
Loading…
Reference in New Issue
Block a user