summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-16 07:15:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-16 07:15:16 +0000
commit07a549aeb0cfc0062c5abd37d0a632cd53d2dcd1 (patch)
tree0df54ba9671c9733d9b006971093da58b285cdb0 /Makefile.rules
parentc8afbd5c2f9d999482840905bef5c8a9419e40c0 (diff)
downloadllvm-07a549aeb0cfc0062c5abd37d0a632cd53d2dcd1.tar.gz
llvm-07a549aeb0cfc0062c5abd37d0a632cd53d2dcd1.tar.bz2
llvm-07a549aeb0cfc0062c5abd37d0a632cd53d2dcd1.tar.xz
Fix a major bug with BUILT_SOURCES. You actually have to dereference a
variable before you can filter its value. Duh! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index dbd23ecaec..ef4c8b0aa8 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -74,7 +74,7 @@ preconditions : $(PreConditions)
#------------------------------------------------------------------------
# Make sure the BUILT_SOURCES are built first
#------------------------------------------------------------------------
-$(filter-out clean clean-local,UserTargets):: $(BUILT_SOURCES)
+$(filter-out clean clean-local,$(UserTargets)):: $(BUILT_SOURCES)
clean-local::
ifneq ($(strip $(BUILT_SOURCES)),)