[Bug build/18272] Build terminates with cannot remove /usr/include/limits.h
david_denny at verizon dot net
sourceware-bugzilla@sourceware.org
Fri Apr 17 01:42:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=18272
--- Comment #2 from David A. Denny <david_denny at verizon dot net> ---
This is the "fix" (more likely a terrible hack) that I have put into the (top
level) Makerules to get past it trying to replace /usr/include/limits.h during
build. (see commented out "do-install" line.) At least maybe it's a clue. I
wonder why its getting here?
headers := $(strip $(headers))
ifdef headers
# This implicit rule installs headers from the source directory.
# It may be ignored in preference to rules from sysd-rules to find
# headers in the sysdeps tree.
$(inst_includedir)/%.h: $(objpfx)%.h $(+force)
$(do-install)
$(inst_includedir)/%.h: $(common-objpfx)%.h $(+force)
$(do-install)
$(inst_includedir)/%.h: %.h $(+force)
$(do-install)
$(inst_includedir)/%.h: $(..)include/%.h $(+force)
# $(do-install)
headers-nonh := $(filter-out %.h,$(headers))
ifdef headers-nonh
$(addprefix $(inst_includedir)/,$(headers-nonh)): $(inst_includedir)/%: \
% $(+force)
$(do-install)
endif # headers-nonh
endif # headers
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list