From 3760ed8716f30d81f122daf388454476a79dff16 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 3 Feb 2009 17:38:53 +0000 Subject: - fix install_headers on hosts where ld does not support gnu hash-style but uClibc is configured to use it. --- Rules.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 07a567e72..4e909f211 100644 --- a/Rules.mak +++ b/Rules.mak @@ -567,7 +567,9 @@ 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,$(MAKECMDGOALS)),) $(error Your binutils don't support --hash-style option, while you want to use it) +endif else LDFLAGS_NOSTRIP += -Wl,$(LDFLAGS_GNUHASH) endif -- cgit v1.2.3