Skip to content

Commit d1bc6f9

Browse files
committed
[Clang][CMake] Remove GCC option override in BOLT.cmake
1 parent c4d37c3 commit d1bc6f9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/cmake/caches/BOLT.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,3 @@ set(LLVM_DISTRIBUTION_COMPONENTS
1111
clang
1212
clang-resource-headers
1313
CACHE STRING "")
14-
15-
# Disable function splitting enabled by default in GCC8+
16-
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
17-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-reorder-blocks-and-partition")
18-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-reorder-blocks-and-partition")
19-
endif()

0 commit comments

Comments
 (0)