summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeshav Amburay2014-05-23 00:52:05 -0400
committerKeshav Amburay2014-05-23 00:52:05 -0400
commit560239d9c44de2ffbe316709ad45609d4fc925fe (patch)
tree6c741f9e38fea3795a856c61774a68ee7e7b14d6
parentb02c6a6830b5133cc360887b7eaf27e5e865b564 (diff)
downloadaur-560239d9c44de2ffbe316709ad45609d4fc925fe.tar.gz
build-id=none, not building yet
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 93f401824cf..18545e28c05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -104,6 +104,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
# msg "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|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