cross-aarch64-linux-gnu: fix _glibc_build()
Suppress attribute alias warning with -Wno-attribute-alias.
This commit is contained in:
parent
6c0edabf17
commit
34db21fd78
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue