From: Gustavo Zacarias Date: Mon, 27 Jun 2005 15:46:53 +0000 (-0300) Subject: [PATCH] Udev doesn't properly build with $CROSS X-Git-Tag: 060~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3cf745e128ba02fcea33bd13190b713f00119150;ds=sidebyside [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. --- diff --git a/Makefile b/Makefile index b04321ff4..665f75a29 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