Annocheck: Fix recording arguments for later re-use. Spec File: Add LTO option to clang and llvm plugin builds.

Resolves: RHEL-50802
Resolves: RHEL-50796
This commit is contained in:
Nick Clifton 2024-07-31 11:02:21 +01:00
parent 5d560bc44c
commit ce738497df

View File

@ -248,6 +248,10 @@ CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS}
export CLANG_TARGET_OPTIONS="-fcf-protection"
%endif
%ifnarch riscv64
export CLANG_TARGET_OPTIONS="$CLANG_TARGET_OPTIONS -flto"
%endif
%make_build
%if %{with plugin_rebuild}
@ -368,6 +372,7 @@ exit $res
%changelog
* Mon Jul 29 2024 Nick Clifton <nickc@redhat.com> - 12.65-1
- Annocheck: Fix recording arguments for later re-use. (RHEL-50802)
- Spec File: Add LTO option to clang and llvm plugin builds. (RHEL-50796)
* Fri Jul 26 2024 Nick Clifron <nickc@redhat.com> - 12.64-1
- Rebase to 12.64, allowing build with LLVM 18. (RHEL-49953)