cross-powerpc-linux-gnu: fix _glibc_build()
Suppress attribute alias warning with -Wno-attribute-alias.
This commit is contained in:
parent
34db21fd78
commit
30ddf1026b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue