From 34db21fd7826ac3a5392b608b0546f182a57a099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 16 Dec 2019 16:42:03 +0100 Subject: [PATCH] cross-aarch64-linux-gnu: fix _glibc_build() Suppress attribute alias warning with -Wno-attribute-alias. --- srcpkgs/cross-aarch64-linux-gnu/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/cross-aarch64-linux-gnu/template b/srcpkgs/cross-aarch64-linux-gnu/template index cecc02ec7b..64e8080011 100644 --- a/srcpkgs/cross-aarch64-linux-gnu/template +++ b/srcpkgs/cross-aarch64-linux-gnu/template @@ -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"