From: NeilBrown Date: Thu, 18 Sep 2008 04:33:37 +0000 (+1000) Subject: Disable compilation with diet-libc X-Git-Tag: mdadm-3.0-devel1~18 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=commitdiff_plain;h=1cccd683f3a77f269ae8183277e9da8ee1c2d7b7 Disable compilation with diet-libc We need posix_memalign (or something similar) which diet-libc does not provide. --- diff --git a/Makefile b/Makefile index 9f08c425..6b878cc1 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