Skip to content

Commit

Permalink
[Script] enable flag support about clang
Browse files Browse the repository at this point in the history
add some build option for clang enabling,

-gdwarf-4  for known DWARF issue, debian #1016936
  • Loading branch information
stellawuintel authored and intel-mediadev committed Aug 9, 2023
1 parent 5147757 commit 15c656f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions media_driver/cmake/linux/media_compile_flags_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-Wbitfield-constant-conversion
-Wno-extern-c-compat
-Wno-inconsistent-missing-override
# for verison under clang-17
-Wno-ignored-optimization-argument
-gdwarf-4
)
list(REMOVE_ITEM MEDIA_COMPILER_FLAGS_COMMON
-funswitch-loops
Expand Down

0 comments on commit 15c656f

Please sign in to comment.