summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-09 21:20:20 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-09 21:20:20 +0000
commit8f6ad301913dc5ddfda7823510c17b8ce61df51c (patch)
tree5aa3f54536fdc7b42c9ae15836fb5c2a01f31cd2 /Makefile
parent8df26e4f7bba3fb0f4c84df7c166fd5d5e09cf7b (diff)
A patch from Michal Moskal <malekith@pld.org.pl> to include
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 96f1d88a1..98ab12ede 100644
--- a/Makefile
+++ b/Makefile
@@ -98,6 +98,11 @@ uClibc_config.h: Makefile Config
@echo "#endif" >> uClibc_config.h
@echo "#define linux 1" >> uClibc_config.h
@echo "#define __linux__ 1" >> uClibc_config.h
+ @if [ "$(INCLUDE_IPV6)" = "true" ] ; then \
+ echo "#define __UCLIBC_HAS_IPV6__ 1" >> uClibc_config.h ; \
+ else \
+ echo "#undef __UCLIBC_HAS_IPV6__" >> uClibc_config.h ; \
+ fi
@if [ "$(HAS_MMU)" = "true" ] ; then \
echo "#define __UCLIBC_HAS_MMU__ 1" >> uClibc_config.h ; \
else \