aboutsummaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sanitizer_common/Makefile.mk')
-rw-r--r--lib/sanitizer_common/Makefile.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/Makefile.mk b/lib/sanitizer_common/Makefile.mk
index da83c2d6b3b7..5bb20d076e81 100644
--- a/lib/sanitizer_common/Makefile.mk
+++ b/lib/sanitizer_common/Makefile.mk
@@ -11,6 +11,8 @@ ModuleName := sanitizer_common
SubDirs :=
Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
+NolibcSources := $(foreach file,$(wildcard $(Dir)/*_nolibc.cc),$(notdir $(file)))
+Sources := $(filter-out $(NolibcSources),$(Sources))
ObjNames := $(Sources:%.cc=%.o)
Implementation := Generic