diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2021-06-14 22:51:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-17 00:07:05 +0100 |
commit | 3d76fca34b3ff2984b06560faa8399515d19b6e2 (patch) | |
tree | 5a8328bd5e8f4dae9f12f9ad5341d17a92542c30 | |
parent | 432aab901a948a7d03f389fd6d594146f0f7711a (diff) | |
download | poky-3d76fca34b3ff2984b06560faa8399515d19b6e2.tar.gz |
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>
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb | 3 |
1 files changed, 0 insertions, 3 deletions
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=""' | |||
31 | PACKAGECONFIG ??= "xcms" | 31 | PACKAGECONFIG ??= "xcms" |
32 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | 32 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" |
33 | 33 | ||
34 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. | ||
35 | CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" | ||
36 | |||
37 | PACKAGES =+ "${PN}-xcb" | 34 | PACKAGES =+ "${PN}-xcb" |
38 | 35 | ||
39 | inherit gettext | 36 | inherit gettext |