Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2bb693894920e634153275bea60278a9f192a8ef
      
https://github.com/tianocore/edk2/commit/2bb693894920e634153275bea60278a9f192a8ef
  Author: Rebecca Cran <rebe...@bsdio.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  BaseTools/Conf/tools_def: Fix linking using CLANGDWARF_IA32

The clang toolchain might default to fPIE/fPIC, which prevents
lld from linking the objects into a binary.

Specify -fno-pie -fno-pic as done on GCC to fix linking.

Test:
Building the Universal Payload using the command
'python UefiPayloadPkg/UniversalPayloadBuild.py -a IA32' actually
works.

Signed-off-by: Patrick Rudolph <patrick.rudo...@9elements.com>
Reviewed-by: Rebecca Cran <rebe...@bsdio.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4356




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

Reply via email to