1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-28 07:21:32 +03:00

[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.
This commit is contained in:
Gustavo Zacarias 2005-06-27 12:46:53 -03:00 committed by Greg Kroah-Hartman
parent a105fe495b
commit 3cf745e128

View File

@ -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