From 753561d8c4edcff3f5d1a2c568cbec2c1cc03b13 Mon Sep 17 00:00:00 2001 From: wangqiang Date: Fri, 17 Oct 2025 13:31:24 +0800 Subject: [PATCH] Fix a macro expand issue (cherry picked from commit 13939c21539bf25e5fd334215e50d1bacd0401ee) --- llvm-toolset-18.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/llvm-toolset-18.spec b/llvm-toolset-18.spec index f1d6024..d8e7742 100644 --- a/llvm-toolset-18.spec +++ b/llvm-toolset-18.spec @@ -102,7 +102,7 @@ %global pkg_name_compiler_rt %{?scl_prefix}compiler-rt %global optflags %(echo %{optflags} | sed 's/-fgcc-compatible//') -%global optflags %(echo %{optflags} | sed 's/-specs=\/usr\/lib\/rpm\/generic-hardened-cc1//') +%global optflags %(echo %{optflags} | sed 's|-specs=/usr/lib/rpm/generic-hardened-cc1||g') %ifnarch x86_64 %global optflags %(echo %{optflags} | sed 's/-fstack-clash-protection//') # may affect cmake check for fpic @@ -149,7 +149,7 @@ #region main package Name: llvm-toolset-%{maj_ver} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 10 +Release: 11 Summary: The Low Level Virtual Machine License: NCSA @@ -2791,6 +2791,9 @@ fi #endregion files %changelog +* Fri Oct 17 2025 wangqiang - 18.1.8-11 +- Fix a macro expand issue + * Wed Oct 15 2025 liyunfei - 18.1.8-10 - update target triples for all openEuler based distribution. -- Gitee