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: lucaceresoli/bug-15201-perf-libtraceevent-missing~7545 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976c4bb2b1ab75e3fe600a81adc451b698ea4b65;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 383860409fd..5d7e9e3783d 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