[compiler-rt] r245777 - Try to fix Mac build.
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 18:07:05 PDT 2015
Author: samsonov
Date: Fri Aug 21 20:07:05 2015
New Revision: 245777
URL: http://llvm.org/viewvc/llvm-project?rev=245777&view=rev
Log:
Try to fix Mac build.
Modified:
compiler-rt/trunk/lib/sanitizer_common/Makefile.mk
Modified: compiler-rt/trunk/lib/sanitizer_common/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/Makefile.mk?rev=245777&r1=245776&r2=245777&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/Makefile.mk (original)
+++ compiler-rt/trunk/lib/sanitizer_common/Makefile.mk Fri Aug 21 20:07:05 2015
@@ -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=%)
More information about the llvm-commits
mailing list