aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2005-06-27 12:46:53 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-01 12:45:06 -0700
commit3cf745e128ba02fcea33bd13190b713f00119150 (patch)
treee002cb43bef6118ccde13644407f5dd9208ed359 /Makefile
parenta105fe495bdc95a24eaf2db557104534f6e1db34 (diff)
downloadudev-3cf745e128ba02fcea33bd13190b713f00119150.tar.gz
[PATCH] Udev doesn't properly build with $CROSS
Patch attached - basically you're always invoking klcc for the udev build itself, but klibc builds $(CROSS)klcc. Thus static cross builds don't work.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b04321ff..665f75a2 100644
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,7 @@ endif
# link udev against it statically. Otherwise, use glibc and link dynamically.
ifeq ($(strip $(USE_KLIBC)),true)
KLIBC_INSTALL = $(PWD)/klibc/.install
- KLCC = $(KLIBC_INSTALL)/bin/klcc
+ KLCC = $(KLIBC_INSTALL)/bin/$(CROSS)klcc
CC = $(KLCC)
LD = $(KLCC)
else