[ia64 patch 2.6.9-rc3] build: ccache/distcc fix for ia64

From: Ingo Molnar
Date: Fri Oct 01 2004 - 05:11:47 EST



the (tested) patch below fixes ccache/distcc-assisted building of the
ia64 tree. (CC is "ccache distcc gcc" in that case, not a simple
one-word "gcc" - this confused the check-gas and toolchain-flags
scripts.)

Ingo

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

--- linux/arch/ia64/Makefile.orig
+++ linux/arch/ia64/Makefile
@@ -24,8 +24,8 @@ cflags-y := -pipe $(EXTRA) -ffixed-r13 -
CFLAGS_KERNEL := -mconstant-gp

GCC_VERSION := $(call cc-version)
-GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas $(CC) $(OBJDUMP))
-CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags $(CC) $(OBJDUMP) $(READELF))
+GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
+CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")

ifeq ($(GAS_STATUS),buggy)
$(error Sorry, you need a newer version of the assember, one that is built from \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/