summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeshav Amburay2013-06-16 17:43:40 +0530
committerKeshav Amburay2013-06-16 17:43:40 +0530
commitdb08581bc4e6408e38e5e97af7735b2f3a1a9a1a (patch)
treedbf8805fafe52699efd93efb2d227a1c15bd91f0
parent744c9c3e0abe031af1b0d0a53569829449a6bafd (diff)
downloadaur-db08581bc4e6408e38e5e97af7735b2f3a1a9a1a.tar.gz
Add -mabi=ms
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f87531349e28..25fe6be76c70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -84,6 +84,9 @@ build() {
# patch -Np1 -i "${srcdir}/gnu-efi-disable-use_ms_abi.patch"
echo
+ ## Use -mabi=ms gcc flag
+ # sed 's|-DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args|-DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args -mabi=ms|g' -i "${srcdir}/${_gitname}_build/${_src_rootdir}/Make.defaults" || true
+
if [[ "${CARCH}" == "x86_64" ]]; then
_build_gnu-efi-libs-x86_64
fi