summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/Makefile')
-rw-r--r--libc/sysdeps/linux/m68k/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index 9c929ec11..c9186e2a9 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -60,11 +60,10 @@ $(COBJS): %.o : %.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
headers:
+ @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h )
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
+ echo "Working around compiler bug in the m68k-pic-coff toolchain"
+ cd $(TOPDIR)/include;ln -fs ../libc/sysdeps/linux/m68k/float.h .
endif