Skip to content

Commit 8796af9

Browse files
committed
ittnotify: Avoid build errors for aarch64/gcc14
1 parent c0d1eaf commit 8796af9

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)