diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 1d130b735..dea5367da 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2013-09-17 Joey Ye + + * libnosys/Makefile.in: Install nosys.specs. + * libnosys/nosys.specs: New specs. + 2013-08-12 Yufeng Zhang * aarch64/crt0.S: Remove 'start'. diff --git a/libgloss/libnosys/Makefile.in b/libgloss/libnosys/Makefile.in index ff4c41647..22828a47f 100644 --- a/libgloss/libnosys/Makefile.in +++ b/libgloss/libnosys/Makefile.in @@ -77,6 +77,7 @@ GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \ then echo -L${objroot}/../gcc ; fi` OUTPUTS = libnosys.a +SPECS = ${srcdir}/nosys.specs # Host specific makefile fragment comes in here. @host_makefile_frag@ @@ -101,7 +102,7 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: - @for outputs in ${OUTPUTS}; do\ + @for outputs in ${OUTPUTS} ${SPECS}; do\ mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ $(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ done diff --git a/libgloss/libnosys/nosys.specs b/libgloss/libnosys/nosys.specs new file mode 100644 index 000000000..034fefb82 --- /dev/null +++ b/libgloss/libnosys/nosys.specs @@ -0,0 +1,8 @@ +%rename lib libc + +*libgloss: +-lnosys + +*lib: +--start-group %(libc) %(libgloss) --end-group +