summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 \