gcc: use new --default-image-base-low option
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user