summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-21 15:08:20 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-21 15:08:20 +0000
commitefba2e53dfb64a3a1b202f75eb349f93471a8bc3 (patch)
tree959e2df5ea7fe6dd8f69ff8d107d3d38f7fc6eae
parenta21dec28942892393cf19090037a9f561fef7c3d (diff)
downloadopenembedded-core-efba2e53dfb64a3a1b202f75eb349f93471a8bc3.tar.gz
openembedded-core-efba2e53dfb64a3a1b202f75eb349f93471a8bc3.tar.bz2
openembedded-core-efba2e53dfb64a3a1b202f75eb349f93471a8bc3.tar.xz
openembedded-core-efba2e53dfb64a3a1b202f75eb349f93471a8bc3.zip
libxt: Add STAGING_INCDIR to the cflags for compiling makestrs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4295 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/xorg-lib/libxt_1.0.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/xorg-lib/libxt_1.0.5.bb b/meta/packages/xorg-lib/libxt_1.0.5.bb
index 5b25c4b3a..1c215da51 100644
--- a/meta/packages/xorg-lib/libxt_1.0.5.bb
+++ b/meta/packages/xorg-lib/libxt_1.0.5.bb
@@ -13,7 +13,7 @@ EXTRA_OECONF += "--disable-install-makestrs --disable-xkb"
do_compile() {
(
unset CC LD CXX CCLD
- oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs
+ oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE -I${STAGING_INCDIR} ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs
) || exit 1
oe_runmake
}