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