From dd0606a3499787cdf8dfd9924542abb3e4de6149 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 1 Aug 2020 16:47:54 +0300 Subject: [PATCH] libelf: fix build sometimes forcing -Werror. Closes #211 --- extra/libelf/build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extra/libelf/build b/extra/libelf/build index d1299b15..bd5cf230 100755 --- a/extra/libelf/build +++ b/extra/libelf/build @@ -2,6 +2,9 @@ patch -p1 < musl-decls.patch +# Build sometimes forces -Werror. +export CFLAGS="$CFLAGS -Wno-error" + # Disable configure error for missing argp. sed -i 's/as_fn_error.*libargp/: "/g' configure