From: Andreas Müller Date: Mon, 14 Jun 2021 20:51:24 +0000 (+0200) Subject: libx11: remove CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" X-Git-Tag: uninative-3.3~469 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=976c4bb2b1ab75e3fe600a81adc451b698ea4b65;p=openembedded-core.git 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. Signed-off-by: Andreas Müller Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb b/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb index 383860409f..5d7e9e3783 100644 --- a/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb +++ b/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb @@ -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