1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

libx11: remove CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"

With 1.7.2 it is not required any and although they mention glibc explicitly,
_GNU_SOURCE is set in config.h for musl either.

(From OE-Core rev: 976c4bb2b1ab75e3fe600a81adc451b698ea4b65)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller
2021-06-14 22:51:24 +02:00
committed by Richard Purdie
parent 432aab901a
commit 3d76fca34b
@@ -31,9 +31,6 @@ EXTRA_OEMAKE += 'CWARNFLAGS=""'
PACKAGECONFIG ??= "xcms"
PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
PACKAGES =+ "${PN}-xcb"
inherit gettext