Skip to content

Commit 3a7f3c1

Browse files
committed
Remove unnecessary tvOS ifdef
1 parent 79920cf commit 3a7f3c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eng/native/configurecompiler.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,7 @@ if (CLR_CMAKE_HOST_UNIX)
482482

483483
# Separate functions so linker can remove them. But not on tvOS because
484484
# -ffunction-sections is not supported with -fembed-bitcode.
485-
if (NOT CLR_CMAKE_HOST_TVOS)
486-
add_compile_options(-ffunction-sections)
487-
endif()
485+
add_compile_options(-ffunction-sections)
488486

489487
# Specify the minimum supported version of macOS
490488
# Mac Catalyst needs a special CFLAG, exclusive with mmacosx-version-min

0 commit comments

Comments
 (0)