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
#------------------------------------------------------------------------
# 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)),)