[PATCH] scripts: support building with the LSB wrappers

Michael Hope michael.hope@linaro.org
Mon Nov 28 00:44:00 GMT 2011


>  comment "Host system"
> diff -r 49af7802dcd5 -r edadd06cb17f scripts/crosstool-NG.sh.in
> --- a/scripts/crosstool-NG.sh.in        Tue Nov 22 10:08:10 2011 +0100
> +++ b/scripts/crosstool-NG.sh.in        Mon Nov 28 12:56:25 2011 +1300
> @@ -390,6 +390,13 @@
>         fi
>
>         for tool in ar as dlltool gcc g++ gcj gnatbind gnatmake ld nm objcopy objdump ranlib strip windres; do
> +            # Re-map GCC and G++ to the corresponding LSB names
> +            case "${CT_BUILD_USE_LSBCC},${m},${tool}" in
> +                y,BUILD,gcc)  target="lsbcc";;
> +                y,BUILD,g++)  target="lsbc++";;

Which should read HOST, not BUILD...

-- Michael

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list