summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-08 17:00:59 +0100
committerNeilBrown <neilb@suse.de>2009-02-02 09:53:51 +1100
commit2df1f269113c687e0c23fad2ca9bcf3c4dcbb382 (patch)
treef8e98885a2ce90d730c404abbc13b0f10539c93e /Makefile
parent1a0ee0baf049809f9e67d60bb8158801eada3bd5 (diff)
downloadmdadm-2df1f269113c687e0c23fad2ca9bcf3c4dcbb382.tar.gz
mdadm-2df1f269113c687e0c23fad2ca9bcf3c4dcbb382.tar.xz
mdadm-2df1f269113c687e0c23fad2ca9bcf3c4dcbb382.zip
mdadm fix compilation for uClibc
2008-12-08 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> * Makefile (dadm.uclibc): Remove misspelled and unneeded rule. * md5.h: Include stdint.h for uClibc. * mdadm.h: uClibc defines __UCLIBC__. If uClibc has LFS off then use lseek instead of lseek64. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 52bd550..c0e2b5d 100644
--- a/Makefile
+++ b/Makefile
@@ -106,9 +106,6 @@ mdadm.static : $(OBJS) $(STATICOBJS)
mdadm.tcc : $(SRCS) mdadm.h
$(TCC) -o mdadm.tcc $(SRCS)
-dadm.uclibc : $(SRCS) mdadm.h
- $(UCLIBC_GCC) -DUCLIBC -DHAVE_STDINT_H -o mdadm.uclibc $(SRCS) $(STATICSRC)
-
mdadm.klibc : $(SRCS) mdadm.h
rm -f $(OBJS)
gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32 $(CFLAGS) $(SRCS)