mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Don't build DHCPv6 by default, except when build Debian package.
This commit is contained in:
8
debian/rules
vendored
8
debian/rules
vendored
@@ -33,6 +33,10 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
|
||||||
|
COPTS += -DHAVE_DHCP6
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter noipv6,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter noipv6,$(DEB_BUILD_OPTIONS)))
|
||||||
COPTS += -DNO_IPV6
|
COPTS += -DNO_IPV6
|
||||||
endif
|
endif
|
||||||
@@ -45,10 +49,6 @@ ifneq (,$(filter nodhcp,$(DEB_BUILD_OPTIONS)))
|
|||||||
COPTS += -DNO_DHCP
|
COPTS += -DNO_DHCP
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
|
|
||||||
COPTS += -DNO_DHCP6
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter noscript,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter noscript,$(DEB_BUILD_OPTIONS)))
|
||||||
COPTS += -DNO_SCRIPT
|
COPTS += -DNO_SCRIPT
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ RESOLVFILE
|
|||||||
has no library dependencies other than libc */
|
has no library dependencies other than libc */
|
||||||
|
|
||||||
#define HAVE_DHCP
|
#define HAVE_DHCP
|
||||||
#define HAVE_DHCP6
|
/* #define HAVE_DHCP6 */
|
||||||
#define HAVE_TFTP
|
#define HAVE_TFTP
|
||||||
#define HAVE_SCRIPT
|
#define HAVE_SCRIPT
|
||||||
/* #define HAVE_LUASCRIPT */
|
/* #define HAVE_LUASCRIPT */
|
||||||
|
|||||||
Reference in New Issue
Block a user