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 \