Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e2607d3a785e92aa5ba115065bf97c38bc532c0a
      
https://github.com/tianocore/edk2/commit/e2607d3a785e92aa5ba115065bf97c38bc532c0a
  Author: Ard Biesheuvel <a...@kernel.org>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  BaseTools/tools_def: Drop ref to undefined CLANGDWARF_ARM_PREFIX

When using CLANGDWARF to build for the ARM architecture, objcopy is
references via the wrong environment variable, resulting in the wrong
llvm-objcopy to be used (if one exists), or the build to fail (if
CLANGDWARF_BIN points to the only available instance)

So use CLANGDWARF_BIN instead, which was what was intended.

Fixes: ecbc394365f50f3c ("BaseTools: Set CLANGDWARF RC path ...")
Signed-off-by: Ard Biesheuvel <a...@kernel.org>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>
Reviewed-by: Rebecca Cran <rebe...@bsdio.com>


  Commit: d3225577123767fd09c91201d27e9c91663ae132
      
https://github.com/tianocore/edk2/commit/d3225577123767fd09c91201d27e9c91663ae132
  Author: Ard Biesheuvel <a...@kernel.org>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  BaseTools/tools_def: Disable overzealous unused variable warning on Clang

The warnings Clang emits when enabling -Wunneeded-internal-declaration
(which is part of -Wall) are generating false positives for variables
whose size gets taken but are not referenced beyond yet.

This may happen legitimately in debug code, so let's disable this
warning for Clang, rather than tiptoe around it in the code.

Signed-off-by: Ard Biesheuvel <a...@kernel.org>
Reviewed-by: Rebecca Cran <rebe...@bsdio.com>
Acked-by: Gerd Hoffmann <kra...@redhat.com>


Compare: https://github.com/tianocore/edk2/compare/0b37723186ec...d32255771237


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to