summaryrefslogtreecommitdiffstats
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-03 17:39:08 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-03 17:39:08 +0000
commit016d9e668f090e6bc3f2cdcb3c1b5d12b9a1c1a2 (patch)
tree8f526373428161b77d65a086321ff11989013e43 /Rules.mak
parente07907e020b9e86e1ae125285ddb2090b3581f99 (diff)
downloaduClibc-alpine-016d9e668f090e6bc3f2cdcb3c1b5d12b9a1c1a2.tar.bz2
uClibc-alpine-016d9e668f090e6bc3f2cdcb3c1b5d12b9a1c1a2.tar.xz
- fix install_headers on hosts where ld does not support gnu hash-style but
uClibc is configured to use it.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 4c2b47344..e22f995a1 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