summaryrefslogtreecommitdiff
path: root/packages/xorg-lib/libxt_X11R7.1-1.0.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xorg-lib/libxt_X11R7.1-1.0.2.bb')
-rw-r--r--packages/xorg-lib/libxt_X11R7.1-1.0.2.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/xorg-lib/libxt_X11R7.1-1.0.2.bb b/packages/xorg-lib/libxt_X11R7.1-1.0.2.bb
index b8bbe4dea3..0644eadc7e 100644
--- a/packages/xorg-lib/libxt_X11R7.1-1.0.2.bb
+++ b/packages/xorg-lib/libxt_X11R7.1-1.0.2.bb
@@ -17,3 +17,11 @@ do_compile() {
)
oe_runmake
}
+
+do_compile_nylon() {
+ (
+ 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
+ ) || exit 1
+ oe_runmake
+}