[OS-BUILD PATCHv2] [redhat] spec: Add %bcond_with toolchain_clang option

2021-02-19 Thread Tom Stellard (via Email Bridge)
From: Tom Stellard [redhat] spec: Add %bcond_with toolchain_clang option This option can be enabled by passing --with toolchain_clang to rpmbuild or mock. Enabling this option will cause the kernel to be built with clang instead of gcc. Signed-off-by: Tom Stellard diff a/redhat/kernel.spec.t

[OS-BUILD PATCH] [redhat] spec: Add %bcond_with clang option

2021-02-15 Thread Tom Stellard (via Email Bridge)
From: Tom Stellard [redhat] spec: Add %bcond_with clang option diff a/redhat/kernel.spec.template b/redhat/kernel.spec.template --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -6,6 +6,12 @@ # Disable LTO in userspace packages. %global _lto_cflags %{nil} +# Option to en