Skip to content

Commit 6eccb54

Browse files
committed
try to fix the gh ci
1 parent ecff942 commit 6eccb54

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ check_type_size("int" SIZEOF_INT)
4141
# NOTE: This `-O2` is crucial for preventing eBPF program verification errors.
4242
add_compile_options(-Wall -Wextra -Werror -O2)
4343

44+
# NOTE: Add `-Wno-maybe-uninitialized` for g++ due to some issue with the libraries
45+
# in the GitHub runner.
46+
# https://github.com/netarch/neo/actions/runs/10068822841/job/27834817300
47+
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
48+
add_compile_options(-Wno-maybe-uninitialized)
49+
endif()
50+
4451
#
4552
# release/debug compile flags
4653
#

0 commit comments

Comments
 (0)