Skip to content

Commit

Permalink
gcc: use new --default-image-base-low option
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyd2019 committed Sep 8, 2020
1 parent fb11b69 commit 49df9cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mingw-w64-gcc/PKGBUILD
Expand Up @@ -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"
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 49df9cf

Please sign in to comment.