Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 149307 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6.19-rc2-mm1/scripts/Kbuild.include.old (-4 / +2 lines)
Lines 66-75 Link Here
66
# as-instr
66
# as-instr
67
# Usage: cflags-y += $(call as-instr, instr, option1, option2)
67
# Usage: cflags-y += $(call as-instr, instr, option1, option2)
68
68
69
ASTMP = $(shell mktemp ${TMPDIR:-/tmp}/asXXXXXX)
69
as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o /dev/null ; \
70
as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o $ASTMP ; \
70
		   then echo "$(2)"; else echo "$(3)"; fi;)
71
		   then echo "$(2)"; else echo "$(3)"; fi; \
72
	           rm -f $ASTMP)
73
71
74
# cc-option
72
# cc-option
75
# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)
73
# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)

Return to bug 149307