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