summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-18 20:05:49 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-18 20:05:49 +0000
commit08e0c24b47a9abfd5536ee0cda1d0204bf7cc93c (patch)
treed7132ca3f2d25babc68ad5da777e731bee6c5abd /libc/sysdeps/linux/m68k/Makefile
parent4db5f2c0a1e1a310c51bf2612a9e08dc22262b1e (diff)
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
Diffstat (limited to 'libc/sysdeps/linux/m68k/Makefile')
-rw-r--r--libc/sysdeps/linux/m68k/Makefile11
1 files changed, 10 insertions, 1 deletions
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