summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornl67202018-07-11 11:03:12 +0300
committernl67202018-07-11 11:03:12 +0300
commit5e598ddb17664c396a0c1de0ea929d73e9182dce (patch)
treef8a8e95449856d3f5a5f2b33405e92e6ca520445
parentd3fc7f546017f6a50672c2c7bd77e60321c75623 (diff)
downloadaur-5e598ddb17664c396a0c1de0ea929d73e9182dce.tar.gz
Fix TianoCore build
Fix source: https://aur.archlinux.org/cgit/aur.git/commit/?h=uefi-shell-git&id=ec75c7883781bb4143dcaef33f5a751ca26ec273
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eda2783f6247..ab4ffaf20843 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -118,7 +118,7 @@ _prepare_tianocore_sources() {
sed 's|DEFINE GCC44_ALL_CC_FLAGS = -g |DEFINE GCC44_ALL_CC_FLAGS = -O0 -mabi=ms -maccumulate-outgoing-args |g' -i "${EDK_TOOLS_PATH}/Conf/tools_def.template" || true
# Fix GenFw: ERROR 3000: Invalid, Unsupported section alignment
- sed 's|--gc-sections|--gc-sections --build-id=none|g' -i "${EDK_TOOLS_PATH}/Conf/tools_def.template"
+ sed 's|,--gc-sections|,--gc-sections, --build-id=none|g' -i "${EDK_TOOLS_PATH}/Conf/tools_def.template"
# sed 's|Error (NULL, 0, 3000, "Invalid", "Unsupported section alignment.");|continue;|g' -i "${EDK_TOOLS_PATH}/Source/C/GenFw/Elf64Convert.c"
# sed 's|Error (NULL, 0, 3000, "Invalid", "Unsupported section alignment.");|continue;|g' -i "${EDK_TOOLS_PATH}/Source/C/GenFw/Elf32Convert.c"
# sed 's|_GCC48_IA32_OBJCOPY_FLAGS =|_GCC48_IA32_OBJCOPY_FLAGS = --section-alignment=0x20 |g' -i "${EDK_TOOLS_PATH}/Conf/tools_def.template" || true