diff mbox

[google/main] Fix arm build broken

Message ID CACkGtrgwyMQ0mQD+rREW1XaXLz3iLijK_a=2-J=i0+EoCugLFg@mail.gmail.com
State New
Headers show

Commit Message

Han Shen March 11, 2014, 10:22 p.m. UTC
Hi current google/main fails to build for arm because of duplicated
head file entries in gtyp-input.list.

Fixed by removing duplication in macro tm_file. This only affects arm
platform. Tested by successfully build for arm.

Patch below ----


Ok for google/main?

Han Shen

Comments

Dehao Chen March 11, 2014, 10:47 p.m. UTC | #1
Looks good to me.

Dehao

On Tue, Mar 11, 2014 at 3:22 PM, Hán Shěn (沈涵) <shenhan@google.com> wrote:
> Hi current google/main fails to build for arm because of duplicated
> head file entries in gtyp-input.list.
>
> Fixed by removing duplication in macro tm_file. This only affects arm
> platform. Tested by successfully build for arm.
>
> Patch below ----
>
> --- config.gcc.orig 2014-03-11 15:10:26.849602409 -0700
> +++ config.gcc 2014-03-11 15:00:28.855375515 -0700
> @@ -1024,9 +1024,8 @@ arm*-*-linux-*) # ARM GNU/Linux with E
>   tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h arm/arm.h"
>   # Define multilib configuration for arm-linux-androideabi.
>   case ${target} in
>   arm*-*-linux-*eabi)
> -    tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
>      tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
>      # Define multilib configuration for arm-linux-androideabi.
>      case ${target} in
>      *-androideabi)
>
> Ok for google/main?
>
> Han Shen
diff mbox

Patch

--- config.gcc.orig 2014-03-11 15:10:26.849602409 -0700
+++ config.gcc 2014-03-11 15:00:28.855375515 -0700
@@ -1024,9 +1024,8 @@  arm*-*-linux-*) # ARM GNU/Linux with E
  tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h arm/arm.h"
  # Define multilib configuration for arm-linux-androideabi.
  case ${target} in
  arm*-*-linux-*eabi)
-    tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
     tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
     # Define multilib configuration for arm-linux-androideabi.
     case ${target} in
     *-androideabi)