aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-03-13 18:14:39 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-03-13 18:14:55 -0500
commit6dc0d0af333592203fabd4746279bb15d2801c0b (patch)
treebfe54b0f4b7912aa7e71e8dc5869d21bc623a705 /mk
parent59a9e53378891be7b12ed304ccb609e27da70751 (diff)
Remove _XOPEN_SOURCE macros from builds
Diffstat (limited to 'mk')
-rw-r--r--mk/os-GNU-kFreeBSD.mk2
-rw-r--r--mk/os-GNU.mk2
-rw-r--r--mk/os-Linux.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/mk/os-GNU-kFreeBSD.mk b/mk/os-GNU-kFreeBSD.mk
index 4fc934e0..93b48291 100644
--- a/mk/os-GNU-kFreeBSD.mk
+++ b/mk/os-GNU-kFreeBSD.mk
@@ -13,6 +13,6 @@
SFX= .GNU-kFreeBSD.in
PKG_PREFIX?= /usr
-CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CPPFLAGS+= -D_BSD_SOURCE
LIBDL= -Wl,-Bdynamic -ldl
LIBKVM?=
diff --git a/mk/os-GNU.mk b/mk/os-GNU.mk
index d5c4172f..adaefd44 100644
--- a/mk/os-GNU.mk
+++ b/mk/os-GNU.mk
@@ -11,5 +11,5 @@
SFX= .GNU.in
PKG_PREFIX?= /usr
-CPPFLAGS+= -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DMAXPATHLEN=4096 -DPATH_MAX=4096
+CPPFLAGS+= -D_DEFAULT_SOURCE -DMAXPATHLEN=4096 -DPATH_MAX=4096
LIBDL= -Wl,-Bdynamic -ldl
diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk
index 3a3c5167..2479ff5b 100644
--- a/mk/os-Linux.mk
+++ b/mk/os-Linux.mk
@@ -11,7 +11,7 @@
SFX= .Linux.in
PKG_PREFIX?= /usr
-CPPFLAGS+= -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700
+CPPFLAGS+= -D_DEFAULT_SOURCE
LIBDL= -Wl,-Bdynamic -ldl
ifeq (${MKSELINUX},yes)