summaryrefslogtreecommitdiffstats
path: root/rules/host-xorg-lib-X11.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-01-02 21:24:57 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2007-01-02 21:24:57 +0000
commit1902ac5386b56c1e6ab8a5daf0dc26659a973c84 (patch)
tree678da4c70f10a84df4295fef2e14718a55edf2a7 /rules/host-xorg-lib-X11.make
parentb8843f0efa657082deefb7e2150678504d34b44b (diff)
downloadptxdist-1902ac5386b56c1e6ab8a5daf0dc26659a973c84.tar.gz
ptxdist-1902ac5386b56c1e6ab8a5daf0dc26659a973c84.tar.xz
* host-libx11: add hack to make it compile again
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6695 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-xorg-lib-X11.make')
-rw-r--r--rules/host-xorg-lib-X11.make5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules/host-xorg-lib-X11.make b/rules/host-xorg-lib-X11.make
index 3fbbe64b0..c034963d5 100644
--- a/rules/host-xorg-lib-X11.make
+++ b/rules/host-xorg-lib-X11.make
@@ -73,7 +73,10 @@ host-xorg-lib-x11_compile: $(STATEDIR)/host-xorg-lib-x11.compile
$(STATEDIR)/host-xorg-lib-x11.compile: $(host-xorg-lib-x11_compile_deps_default)
@$(call targetinfo, $@)
- cd $(HOST_XORG_LIB_X11_DIR) && $(HOST_XORG_LIB_X11_PATH) $(MAKE) $(PARALLELMFLAGS)
+ # FIXME: CC_FOR_BUILD is a hack because of our broken patch; the
+ # real solution is to modify the patch to use CC_FOR_BUILD only
+ # when $cross_compiling is set. See nfsutils for example (rsc)
+ cd $(HOST_XORG_LIB_X11_DIR) && $(HOST_XORG_LIB_X11_PATH) $(MAKE) $(PARALLELMFLAGS) CC_FOR_BUILD=$(HOSTCC)
@$(call touch, $@)
# ----------------------------------------------------------------------------