Try to fix Mac build.

llvm-svn: 245777
This commit is contained in:
Alexey Samsonov 2015-08-22 01:07:05 +00:00
parent eb4fe7883f
commit 74683fe519

View File

@ -10,9 +10,9 @@
ModuleName := sanitizer_common ModuleName := sanitizer_common
SubDirs := SubDirs :=
Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file))) AllSources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
Sources := $(filter-out $(wildcard $(Dir)/*_nolibc.cc),$(Sources)) LibcSources := $(filter-out $(wildcard $(Dir)/*_nolibc.cc),$(AllSources))
ObjNames := $(Sources:%.cc=%.o) ObjNames := $(LibcSources:%.cc=%.o)
Implementation := Generic Implementation := Generic
@ -20,4 +20,4 @@ Implementation := Generic
Dependencies := $(wildcard $(Dir)/*.h) Dependencies := $(wildcard $(Dir)/*.h)
# Define a convenience variable for all the sanitizer_common functions. # Define a convenience variable for all the sanitizer_common functions.
SanitizerCommonFunctions := $(Sources:%.cc=%) SanitizerCommonFunctions := $(LibcSources:%.cc=%)