diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-11-06 23:19:29 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-11-06 23:19:29 +0000 |
| commit | 472d937db78109b67629eb6827424810c8002e8c (patch) | |
| tree | 635c3c1cb2aa86ef79839afe0a25c13ad1492835 | |
| parent | cf49b523a07e6097f77d01658d56fdbff3d159b4 (diff) | |
| download | bcm5719-llvm-472d937db78109b67629eb6827424810c8002e8c.tar.gz bcm5719-llvm-472d937db78109b67629eb6827424810c8002e8c.zip | |
[CMake] Need to filter ${arch}/*.c builtins as well as ${arch}/*.S builtins.
This was broken in r248542 when I refactored this to support builtins where ${arch} didn't match the directory prefix (i.e. armv7s).
llvm-svn: 252365
| -rw-r--r-- | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index c52ba09b8f2..97b0ea40278 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -220,7 +220,7 @@ function(darwin_filter_builtin_sources output_var exclude_or_include excluded_li list(FIND ${excluded_list} ${_name_we} _found) if(_found ${filter_action} ${filter_value}) list(REMOVE_ITEM intermediate ${_file}) - elseif(${_file} MATCHES ".*/.*\\.S") + elseif(${_file} MATCHES ".*/.*\\.S" OR ${_file} MATCHES ".*/.*\\.c") get_filename_component(_name ${_file} NAME) string(REPLACE ".S" ".c" _cname "${_name}") list(REMOVE_ITEM intermediate ${_cname}) |

