Line 51: | Line 51: | ||
== Detailed Description == | == Detailed Description == | ||
<!-- Expand on the summary, if appropriate. A couple sentences suffices to explain the goal, but the more details you can provide the better. --> | <!-- Expand on the summary, if appropriate. A couple sentences suffices to explain the goal, but the more details you can provide the better. --> | ||
A new package called c-cxx-rpm-macros will be created and added as a dependency of redhat-rpm-config. The following files and directories be moved into it from redhat-rpm-config: | |||
* redhat-hardened-ld | |||
* redhat-hardened-cc1 | |||
* redhat-annobin-cc1 | |||
* rpmrc | |||
* tests/ | |||
* redhat-hardened-clang.cfg | |||
* buildflags.md | |||
In addition the following macros from the macros file will be moved into a macros.c-cxx file in the new package: | |||
* %__cc_gcc | |||
* %__cxx_gcc | |||
* %__cpp_gcc | |||
* %__cc_clang | |||
* %__cxx_clang | |||
* %__cpp_clang | |||
* %toolchain | |||
* %__cc | |||
* %__cxx | |||
* %__cpp | |||
* %build_cc | |||
* %build_cxx | |||
* %build_cpp | |||
* %build_cflags | |||
* %build_cxxflags | |||
* %build_ldflags | |||
* %__extension_strip_flags() | |||
* %extension_cflags | |||
* %extension_cxxflags | |||
* %extension_fflags | |||
* %extension_ldflags | |||
* %__global_cflags | |||
* %__global_cxxflags | |||
* %__global_fflags | |||
* %__global_fcflags | |||
* %__global_ldflags | |||
* %__cflags_arch_x86_64 | |||
* %__cflags_arch_s390x | |||
* %_hardening_clang_cflags | |||
* %_hardening_cflags | |||
* %_hardening_ldflags | |||
* %_hardened_build | |||
* %_hardened_cflags | |||
* %_hardened_ldflags | |||
* %_annotated_build | |||
* %_annobin_gcc_plugin | |||
* %_annobin_clang_plugin | |||
* %_annotation_plugin | |||
* %_annotation_cflags | |||
* %_annotation_ldflags | |||
* %_ld_symbols_flags | |||
* %_ld_as_needed | |||
* %_ld_as_needed_flags | |||
* %_gcc_lto_cflags | |||
* %_clang_lto_cflags | |||
* %_lto_cflags | |||
* %_general_options | |||
* %_warning_options | |||
* %_preprocessor_defines | |||
* %_legacy_options | |||
* %__global_compiler_flags | |||
== Feedback == | == Feedback == |
Revision as of 00:19, 1 December 2021
Change Proposal Name
C and C++ RPM Macros Package
Summary
Create a new package called c-cxx-rpm-macros and move all C and C++ related macros into it from redhat-rpm-config.
Owner
- Name: Tom Stellard
- Email: <tstellar@redhat.com>
Current status
- Targeted release: Fedora Linux 36
- Last updated: 2021-12-01
- FESCo issue: <will be assigned by the Wrangler>
- Tracker bug: <will be assigned by the Wrangler>
- Release notes tracker: <will be assigned by the Wrangler>
Detailed Description
A new package called c-cxx-rpm-macros will be created and added as a dependency of redhat-rpm-config. The following files and directories be moved into it from redhat-rpm-config:
- redhat-hardened-ld
- redhat-hardened-cc1
- redhat-annobin-cc1
- rpmrc
- tests/
- redhat-hardened-clang.cfg
- buildflags.md
In addition the following macros from the macros file will be moved into a macros.c-cxx file in the new package:
- %__cc_gcc
- %__cxx_gcc
- %__cpp_gcc
- %__cc_clang
- %__cxx_clang
- %__cpp_clang
- %toolchain
- %__cc
- %__cxx
- %__cpp
- %build_cc
- %build_cxx
- %build_cpp
- %build_cflags
- %build_cxxflags
- %build_ldflags
- %__extension_strip_flags()
- %extension_cflags
- %extension_cxxflags
- %extension_fflags
- %extension_ldflags
- %__global_cflags
- %__global_cxxflags
- %__global_fflags
- %__global_fcflags
- %__global_ldflags
- %__cflags_arch_x86_64
- %__cflags_arch_s390x
- %_hardening_clang_cflags
- %_hardening_cflags
- %_hardening_ldflags
- %_hardened_build
- %_hardened_cflags
- %_hardened_ldflags
- %_annotated_build
- %_annobin_gcc_plugin
- %_annobin_clang_plugin
- %_annotation_plugin
- %_annotation_cflags
- %_annotation_ldflags
- %_ld_symbols_flags
- %_ld_as_needed
- %_ld_as_needed_flags
- %_gcc_lto_cflags
- %_clang_lto_cflags
- %_lto_cflags
- %_general_options
- %_warning_options
- %_preprocessor_defines
- %_legacy_options
- %__global_compiler_flags
Feedback
Benefit to Fedora
Scope
- Proposal owners:
- Other developers:
- Release engineering: #Releng issue number
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- Alignment with Objectives:
Upgrade/compatibility impact
How To Test
User Experience
Dependencies
Contingency Plan
- Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
- Contingency deadline: N/A (not a System Wide Change)
- Blocks release? N/A (not a System Wide Change), Yes/No
Documentation
N/A (not a System Wide Change)