diff options
Diffstat (limited to 'compiler-rt/cmake/Modules/AddCompilerRT.cmake')
-rw-r--r-- | compiler-rt/cmake/Modules/AddCompilerRT.cmake | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake index fb2aee8..d658b70 100644 --- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake +++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake @@ -162,7 +162,6 @@ endmacro() # OBJECT_LIBS <object libraries to use as sources> # PARENT_TARGET <convenience parent target> # ADDITIONAL_HEADERS <header files> -# EXTENSIONS <boolean> # C_STANDARD <version> # CXX_STANDARD <version>) function(add_compiler_rt_runtime name type) @@ -174,7 +173,7 @@ function(add_compiler_rt_runtime name type) cmake_parse_arguments(LIB "" "PARENT_TARGET;C_STANDARD;CXX_STANDARD" - "OS;ARCHS;SOURCES;CFLAGS;LINK_FLAGS;DEFS;DEPS;LINK_LIBS;OBJECT_LIBS;ADDITIONAL_HEADERS;EXTENSIONS" + "OS;ARCHS;SOURCES;CFLAGS;LINK_FLAGS;DEFS;DEPS;LINK_LIBS;OBJECT_LIBS;ADDITIONAL_HEADERS" ${ARGN}) set(libnames) # Until we support this some other way, build compiler-rt runtime without LTO @@ -445,10 +444,6 @@ function(add_compiler_rt_runtime name type) if(type STREQUAL "SHARED") rt_externalize_debuginfo(${libname}) endif() - - if(DEFINED LIB_EXTENSIONS) - set_target_properties(${libname} PROPERTIES C_EXTENSIONS ${LIB_EXTENSIONS}) - endif() endforeach() if(LIB_PARENT_TARGET) add_dependencies(${LIB_PARENT_TARGET} ${libnames}) |