summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-09-18 14:33:37 +1000
committerNeilBrown <neilb@suse.de>2008-09-18 14:33:37 +1000
commit1cccd683f3a77f269ae8183277e9da8ee1c2d7b7 (patch)
tree6ec6c604353dccd560da639effd978740b4ecc85 /Makefile
parenta8473e68c7ed263c3379945977b25df075479025 (diff)
downloadmdadm-1cccd683f3a77f269ae8183277e9da8ee1c2d7b7.tar.gz
mdadm-1cccd683f3a77f269ae8183277e9da8ee1c2d7b7.tar.xz
mdadm-1cccd683f3a77f269ae8183277e9da8ee1c2d7b7.zip
Disable compilation with diet-libc
We need posix_memalign (or something similar) which diet-libc does not provide.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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