diff options
author | nl6720 | 2018-07-11 11:03:12 +0300 |
---|---|---|
committer | nl6720 | 2018-07-11 11:03:12 +0300 |
commit | 5e598ddb17664c396a0c1de0ea929d73e9182dce (patch) | |
tree | f8a8e95449856d3f5a5f2b33405e92e6ca520445 | |
parent | d3fc7f546017f6a50672c2c7bd77e60321c75623 (diff) | |
download | aur-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-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |