Re: [PATCH] Don't build any of the sparc arch bits with -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is due to gcc-4.6 it throws warnings for defined but unused variables. 
without this we cant build the kernel at all.  i have buil tested but not 
tried to run yet

Dennis

On Friday, February 25, 2011 05:57:15 PM Dennis Gilmore wrote:
> Signed-off-by: Dennis Gilmore <dgilmore@xxxxxxxxxx>
> ---
>  arch/sparc/kernel/Makefile |    1 -
>  arch/sparc/lib/Makefile    |    1 -
>  arch/sparc/mm/Makefile     |    1 -
>  arch/sparc/prom/Makefile   |    1 -
>  4 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
> index 599398f..e38a367 100644
> --- a/arch/sparc/kernel/Makefile
> +++ b/arch/sparc/kernel/Makefile
> @@ -3,7 +3,6 @@
>  #
> 
>  asflags-y := -ansi
> -ccflags-y := -Werror
> 
>  extra-y     := head_$(BITS).o
>  extra-y     += init_task.o
> diff --git a/arch/sparc/lib/Makefile b/arch/sparc/lib/Makefile
> index 846d1c4..c2ed034 100644
> --- a/arch/sparc/lib/Makefile
> +++ b/arch/sparc/lib/Makefile
> @@ -2,7 +2,6 @@
>  #
> 
>  asflags-y := -ansi -DST_DIV0=0x02
> -ccflags-y := -Werror
> 
>  lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o
>  lib-$(CONFIG_SPARC32) += memcpy.o memset.o
> diff --git a/arch/sparc/mm/Makefile b/arch/sparc/mm/Makefile
> index 79836a7..3945501 100644
> --- a/arch/sparc/mm/Makefile
> +++ b/arch/sparc/mm/Makefile
> @@ -2,7 +2,6 @@
>  #
> 
>  asflags-y := -ansi
> -ccflags-y := -Werror
> 
>  obj-$(CONFIG_SPARC64)   += ultra.o tlb.o tsb.o
>  obj-y                   += fault_$(BITS).o
> diff --git a/arch/sparc/prom/Makefile b/arch/sparc/prom/Makefile
> index 8287bbe..52e4e77 100644
> --- a/arch/sparc/prom/Makefile
> +++ b/arch/sparc/prom/Makefile
> @@ -2,7 +2,6 @@
>  # Linux.
>  #
>  asflags := -ansi
> -ccflags := -Werror
> 
>  lib-y                 := bootstr_$(BITS).o
>  lib-y                 += init_$(BITS).o

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux