summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-08-18 15:52:29 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-08-19 19:08:21 +0200
commitc78e53b6a4e15b50aca2b666a49b146bf380d927 (patch)
treeb5054048d3637a48a2edf7d67c55d0e4c394455f
parent2dbcb892846c6c5fd6962c155b7a5bb354d11ca5 (diff)
buildsys: Do not error on GNUHASH for clean targets
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 1f05a8a53..89127043c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -601,7 +601,7 @@ ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
# Be sure that binutils support it
LDFLAGS_GNUHASH:=$(call check_ld,--hash-style=gnu)
ifeq ($(LDFLAGS_GNUHASH),)
-ifneq ($(filter-out install_headers headers-y,$(MAKECMDGOALS)),)
+ifneq ($(filter-out $(clean_targets) install_headers headers-y,$(MAKECMDGOALS)),)
$(error Your binutils do not support --hash-style option, while you want to use it)
endif
else