svn commit: trunk/uClibc
aldot at uclibc.org
aldot at uclibc.org
Tue Feb 3 17:38:54 UTC 2009
Author: aldot
Date: 2009-02-03 17:38:53 +0000 (Tue, 03 Feb 2009)
New Revision: 25230
Log:
- fix install_headers on hosts where ld does not support gnu hash-style but
uClibc is configured to use it.
Modified:
trunk/uClibc/Rules.mak
Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak 2009-02-03 17:31:45 UTC (rev 25229)
+++ trunk/uClibc/Rules.mak 2009-02-03 17:38:53 UTC (rev 25230)
@@ -567,7 +567,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