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
This commit is contained in:
William Hubbs 2018-05-01 13:28:57 -05:00
parent 49a90f27a8
commit f4e2142089

View File

@ -11,7 +11,7 @@
SFX= .Linux.in SFX= .Linux.in
PKG_PREFIX?= /usr PKG_PREFIX?= /usr
CPPFLAGS+= -D_DEFAULT_SOURCE CPPFLAGS+= -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L
LIBDL= -Wl,-Bdynamic -ldl LIBDL= -Wl,-Bdynamic -ldl
ifeq (${MKSELINUX},yes) ifeq (${MKSELINUX},yes)