From 49df9cf0e03322a2ff54f11ffa44d4be775f7209 Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Mon, 7 Sep 2020 17:49:55 -0700 Subject: [PATCH] gcc: use new --default-image-base-low option --- mingw-w64-gcc/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-gcc/PKGBUILD b/mingw-w64-gcc/PKGBUILD index 2a1ff66585..fee2a991a7 100644 --- a/mingw-w64-gcc/PKGBUILD +++ b/mingw-w64-gcc/PKGBUILD @@ -21,7 +21,7 @@ pkgver=10.2.0 #_majorver=${pkgver:0:1} #_sourcedir=${_realname}-${_majorver}-${_snapshot} _sourcedir=${_realname}-${pkgver} -pkgrel=2 +pkgrel=3 pkgdesc="GCC for the MinGW-w64" arch=('any') url="https://gcc.gnu.org" @@ -189,7 +189,7 @@ build() { local _LDFLAGS_FOR_TARGET="$LDFLAGS" LDFLAGS+=" -Wl,--disable-dynamicbase" if [ "${CARCH}" = 'x86_64' ]; then - LDFLAGS+=",--image-base=0x400000" + LDFLAGS+=",--default-image-base-low" fi ../${_sourcedir}/configure \