From 1cccd683f3a77f269ae8183277e9da8ee1c2d7b7 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Thu, 18 Sep 2008 14:33:37 +1000 Subject: [PATCH] Disable compilation with diet-libc We need posix_memalign (or something similar) which diet-libc does not provide. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9f08c42..6b878cc 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,10 @@ # e.g. make CXFLAGS=-O to optimise TCC = tcc UCLIBC_GCC = $(shell for nm in i386-uclibc-linux-gcc i386-uclibc-gcc; do which $$nm > /dev/null && { echo $$nm ; exit; } ; done; echo false No uclibc found ) -DIET_GCC = diet gcc +#DIET_GCC = diet gcc +# sorry, but diet-libc doesn't know about posix_memalign, +# so we cannot use it any more. +DIET_GCC = gcc -DHAVE_STDINT_H KLIBC=/home/src/klibc/klibc-0.77