[compiler-rt] r182420 - Add atomic.c back to the builtins module sources lists (for Makefile build).
Daniel Dunbar
daniel at zuster.org
Tue May 21 13:40:36 PDT 2013
Author: ddunbar
Date: Tue May 21 15:40:36 2013
New Revision: 182420
URL: http://llvm.org/viewvc/llvm-project?rev=182420&view=rev
Log:
Add atomic.c back to the builtins module sources lists (for Makefile build).
Modified:
compiler-rt/trunk/lib/Makefile.mk
Modified: compiler-rt/trunk/lib/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/Makefile.mk?rev=182420&r1=182419&r2=182420&view=diff
==============================================================================
--- compiler-rt/trunk/lib/Makefile.mk (original)
+++ compiler-rt/trunk/lib/Makefile.mk Tue May 21 15:40:36 2013
@@ -22,13 +22,8 @@ SubDirs += tsan
SubDirs += msan
SubDirs += ubsan
-# FIXME: We don't currently support building an atomic library, and as it must
-# be a separate library from the runtime library, we need to remove its source
-# code from the source files list.
-ExcludedSources := atomic.c
-
# Define the variables for this specific directory.
-Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(filter-out $(ExcludedSources),$(notdir $(file))))
+Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
ObjNames := $(Sources:%.c=%.o)
Implementation := Generic
More information about the llvm-commits
mailing list