Skip to content

Commit 68bcfc5

Browse files
committed
Remove hack
1 parent 09242df commit 68bcfc5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/adjust_global_compile_flags.cmake

-4
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,6 @@ else()
329329
# suppress warnings from flatbuffers
330330
string(APPEND CMAKE_CXX_FLAGS " -Wno-restrict ")
331331
string(APPEND CMAKE_C_FLAGS " -Wno-restrict ")
332-
if(onnxruntime_USE_XNNPACK)
333-
# https://github.com/google/XNNPACK/issues/7650
334-
string(APPEND CMAKE_C_FLAGS " -Wno-incompatible-pointer-types ")
335-
endif()
336332
endif()
337333
# Check support for AVX and f16c.
338334
include(CheckCXXCompilerFlag)

0 commit comments

Comments
 (0)