summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2023-04-05 12:09:09 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-04-05 20:39:36 +0000
commit2bb693894920e634153275bea60278a9f192a8ef (patch)
tree6b537f3ee0b397bf56377a7f339586cd8e287e7a /ArmVirtPkg
parenta56ee36c494cb1dfe795259b2cba706ef55b5212 (diff)
downloadedk2-2bb693894920e634153275bea60278a9f192a8ef.tar.gz
edk2-2bb693894920e634153275bea60278a9f192a8ef.tar.bz2
edk2-2bb693894920e634153275bea60278a9f192a8ef.zip
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.rudolph@9elements.com> Reviewed-by: Rebecca Cran <rebecca@bsdio.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4356
Diffstat (limited to 'ArmVirtPkg')
0 files changed, 0 insertions, 0 deletions