From acabd2158d9004dedfdfad8c170b77d32684f3fc Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 9 Nov 2012 10:09:29 +0000 Subject: meta: remove redundant _FOR_BUILD variables Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-lib/libx11.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc') 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=""' PACKAGECONFIG ??= "" PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" -# src/util/makekeys needs to be compiled natively, so tell it what compiler to -# use. -export CC_FOR_BUILD = "${BUILD_CC}" -export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -D_GNU_SOURCE" -export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" -export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" +# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. +CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" PACKAGES =+ "${PN}-xcb" -- cgit 1.2.3-korg