diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-02-03 17:38:53 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-02-03 17:38:53 +0000 |
commit | 3760ed8716f30d81f122daf388454476a79dff16 (patch) | |
tree | 9595f210c3dd4606e4ea680c1113506748364b0e | |
parent | 168b72be28dc6a1ef14d5672dd97616a10af294c (diff) |
- fix install_headers on hosts where ld does not support gnu hash-style but
uClibc is configured to use it.
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |