diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-01 13:28:57 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-01 13:29:13 -0500 |
commit | f4e2142089487b7f5c99da949d7bf8d038724df7 (patch) | |
tree | 9df54e1f4de0d2807394236fe69813afd2032715 /mk/os-Linux.mk | |
parent | 49a90f27a848ba02a363fc0c844d6284728bdd73 (diff) |
Add _POSIX_C_SOURCE definition to Linux build
We need this to allow builds on uclibc-ng based systems.
X-Gentoo-Bug: 650908
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650908
Diffstat (limited to 'mk/os-Linux.mk')
-rw-r--r-- | mk/os-Linux.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk index 2479ff5b..9e8a1485 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 +CPPFLAGS+= -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L LIBDL= -Wl,-Bdynamic -ldl ifeq (${MKSELINUX},yes) |