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

Suppress attribute alias warning with -Wno-attribute-alias.

Closes: #17023
This commit is contained in:
Jürgen Buchmüller 2019-12-16 16:44:27 +01:00
parent 103819d334
commit 4d211aab72

View file

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