From 08e0c24b47a9abfd5536ee0cda1d0204bf7cc93c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 18 Jun 2001 20:05:49 +0000 Subject: This commit finishes adding support for the old m68k-coff toolchains by working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik --- libc/sysdeps/linux/m68k/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/m68k/Makefile') diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index 5f2b73581..3ca165344 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -60,8 +60,17 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o headers: - # no arch-specific headers +ifeq ($(strip $(HAVE_ELF)),false) + echo "Working around compiler bug in the m68k-pic-coff toolchain" + cd $(TOPDIR)/include;ln -fs ../libc/sysdeps/linux/m68k/float.h . +else + # no arch-specific headers +endif + clean: rm -f *.[oa] *~ core +ifeq ($(strip $(HAVE_ELF)),false) + rm -f $(TOPDIR)/include/float.h +endif -- cgit v1.2.3