cross-powerpc-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:43:08 +01:00
parent 34db21fd78
commit 30ddf1026b
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,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"