svn commit: branches/uClibc_0_9_30

aldot at uclibc.org aldot at uclibc.org
Tue Feb 3 17:31:45 UTC 2009


Author: aldot
Date: 2009-02-03 17:31:45 +0000 (Tue, 03 Feb 2009)
New Revision: 25229

Log:
- fix install_headers on hosts where ld does not support gnu hash-style but
  uClibc is configured to use it.


Modified:
   branches/uClibc_0_9_30/Rules.mak


Changeset:
Modified: branches/uClibc_0_9_30/Rules.mak
===================================================================
--- branches/uClibc_0_9_30/Rules.mak	2009-02-03 16:24:13 UTC (rev 25228)
+++ branches/uClibc_0_9_30/Rules.mak	2009-02-03 17:31:45 UTC (rev 25229)
@@ -537,7 +537,9 @@
 # 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



More information about the uClibc-cvs mailing list