From 16507ddd6b0eee407b6e2c37e91c8af4be0d2370 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Mon, 14 Apr 2008 21:39:56 +0000
Subject: [PATCH] Add DIRS variable to the list of variables to be cleared
 instead of unsetting it manually.

Originally committed as revision 12825 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile   | 2 +-
 common.mak | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index e64264e1a50..878f17f5584 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
 	cp -p $< $@
 	$(STRIP) $@
 
-SUBDIR_VARS := OBJS ASM_OBJS CPP_OBJS FFLIBS CLEANFILES
+SUBDIR_VARS := OBJS ASM_OBJS CPP_OBJS FFLIBS CLEANFILES DIRS
 
 define RESET
 $(1) :=
diff --git a/common.mak b/common.mak
index 1fbdf2b489e..2ec0dffd133 100644
--- a/common.mak
+++ b/common.mak
@@ -87,9 +87,6 @@ endef
 
 $(eval $(RULES))
 
-# Clear DIRS variable so that it is not used in other subdirectories.
-DIRS =
-
 tests: $(TESTS)
 
 -include $(DEPS)
-- 
GitLab