aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.unix
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-06-08 16:35:58 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-08-23 20:49:51 +0000
commite422bebbdc63966df984a8e5cd12d8f4c84da1b8 (patch)
tree4b45804c1d88fa74d11740c0b96b141c02fedceb /src/makefile.unix
parentcf78183fadac6e9fccb51c7355cfa34641fc06d5 (diff)
Make IPv6 support buildtime-optional again (defaults to enabled)
Diffstat (limited to 'src/makefile.unix')
-rw-r--r--src/makefile.unix7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/makefile.unix b/src/makefile.unix
index c9a09ad020..81337148d3 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -3,10 +3,11 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
USE_UPNP:=0
+USE_IPV6:=1
LINK:=$(CXX)
-DEFS=-DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE
+DEFS=-DBOOST_SPIRIT_THREADSAFE
DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))
@@ -43,6 +44,10 @@ ifneq (${USE_UPNP}, -)
DEFS += -DUSE_UPNP=$(USE_UPNP)
endif
+ifneq (${USE_IPV6}, -)
+ DEFS += -DUSE_IPV6
+endif
+
LIBS+= \
-Wl,-B$(LMODE2) \
-l z \