summaryrefslogtreecommitdiff
path: root/xt
diff options
context:
space:
mode:
Diffstat (limited to 'xt')
-rw-r--r--xt/xt_0.1.5.oe10
1 files changed, 10 insertions, 0 deletions
diff --git a/xt/xt_0.1.5.oe b/xt/xt_0.1.5.oe
index 97c1e1fcc1..0998c38150 100644
--- a/xt/xt_0.1.5.oe
+++ b/xt/xt_0.1.5.oe
@@ -9,6 +9,16 @@ S = "${WORKDIR}/libXt-${PV}"
inherit autotools pkgconfig
+#nasty hack as utils need to be native
+do_compile() {
+ (
+ unset CC LD CXX CCLD
+# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake -C util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs
+ )
+ oe_runmake
+}
+
do_stage () {
oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
}