cross-aarch64-linux-gnu: fix _glibc_build()

Suppress attribute alias warning with -Wno-attribute-alias.
This commit is contained in:
Jürgen Buchmüller 2019-12-16 16:42:03 +01:00
parent 6c0edabf17
commit 34db21fd78

View file

@ -186,7 +186,7 @@ _glibc_build() {
export CC="${_triplet}-gcc" CXX="${_triplet}-g++" LD="${_triplet}-ld" \
AS="${_triplet}-as" CPP="${_triplet}-cpp" \
NM="${_triplet}-nm"
export CFLAGS="-O1 -pipe -Wno-error ${_archflags}"
export CFLAGS="-O1 -pipe -Wno-error -Wno-attribute-alias ${_archflags}"
_args="--prefix=/usr"
_args+=" --libdir=/usr/lib"