Skip to content

Commit 10dceb4

Browse files
committed
Remove -fno-lto from COMPILE_FLAGS
1 parent bce52e3 commit 10dceb4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,6 @@ function(add_unittest test_suite test_name)
16411641
# When using FatLTO, just use relocatable linking.
16421642
set_property(TARGET ${test_name} APPEND_STRING PROPERTY
16431643
LINK_FLAGS " -Wl,--no-fat-lto-objects")
1644-
set_property(TARGET ${test_name} APPEND_STRING PROPERTY COMPILE_FLAGS " -fno-lto")
16451644
else()
16461645
set_property(TARGET ${test_name} APPEND_STRING PROPERTY
16471646
LINK_FLAGS " -Wl,--lto-O0")

0 commit comments

Comments
 (0)