diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc index 71e74f77dc..e0fce3eba2 100644 --- a/meta/recipes-graphics/xorg-lib/libx11.inc +++ b/meta/recipes-graphics/xorg-lib/libx11.inc | |||
@@ -30,12 +30,8 @@ EXTRA_OEMAKE += 'CWARNFLAGS=""' | |||
30 | PACKAGECONFIG ??= "" | 30 | PACKAGECONFIG ??= "" |
31 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | 31 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" |
32 | 32 | ||
33 | # src/util/makekeys needs to be compiled natively, so tell it what compiler to | 33 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. |
34 | # use. | 34 | CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" |
35 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
36 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -D_GNU_SOURCE" | ||
37 | export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" | ||
38 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | ||
39 | 35 | ||
40 | PACKAGES =+ "${PN}-xcb" | 36 | PACKAGES =+ "${PN}-xcb" |
41 | 37 | ||