Skip to content

Commit 459b4ad

Browse files
authored
Merge pull request #9857 from cms-sw/ittnotify-fix
ittnotify: Avoid build errors for aarch64/gcc14
2 parents c0d1eaf + 8796af9 commit 459b4ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ittnotify.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ BuildRequires: cmake
88
%setup -q -n IntelSEAPI-%{realversion}
99

1010
%build
11-
cmake -DCMAKE_INSTALL_PREFIX="%{i}" -DARCH_64=1 ittnotify
11+
#-Wno-implicit-function-declaration: avoid build errors for el8_aarch64_gcc14
12+
cmake -DCMAKE_INSTALL_PREFIX="%{i}" -DARCH_64=1 \
13+
-DCMAKE_C_FLAGS="-Wno-implicit-function-declaration" \
14+
ittnotify
1215

1316
make %{makeprocesses} VERBOSE=1 all
1417

0 commit comments

Comments
 (0)