Commit ea3daebf authored by Kevin Modzelewski's avatar Kevin Modzelewski

Build fix: I think this flag confuses clang

Haven't looked into it that much, but my guess is that it
was introduced in some newer version of clang than what
some people are using.  It was added for the use of the
clang-pgo build, but we ended up dropping that so it should
be ok to drop this flag.
parent b82d1414
......@@ -65,7 +65,7 @@ else()
endif()
# initial clang flags (set here so they're used when building llvm)
set(CLANG_FLAGS "-Qunused-arguments -fcolor-diagnostics -Wno-profile-instr-unprofiled" CACHE STRING "Clang specific C and CXX flags")
set(CLANG_FLAGS "-Qunused-arguments -fcolor-diagnostics" CACHE STRING "Clang specific C and CXX flags")
if("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CLANG_FLAGS}")
endif()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment