From 976c4bb2b1ab75e3fe600a81adc451b698ea4b65 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Mon, 14 Jun 2021 22:51:24 +0200 Subject: libx11: remove CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb | 3 --- 1 file changed, 3 deletions(-) (limited to 'meta/recipes-graphics/xorg-lib') 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 -- cgit 1.2.3-korg