summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-07 19:53:21 +0100
committer Matteo Bernardini2021-02-27 08:22:45 +0100
commitbfaf40db8cceb34b523d9c1c472d3d3c937d4bd6 (patch)
tree1fa3c8c912093529cf393b371a3da4377bc70160
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-acpica.tar.gz
development/acpica: Pass -fcommon for gcc >= 10.x.acpica
Disable some warnings-as-errors Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/acpica/acpica.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild
index f3ffc6d06f..734499bb12 100644
--- a/development/acpica/acpica.SlackBuild
+++ b/development/acpica/acpica.SlackBuild
@@ -74,7 +74,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd generate/unix
- CFLAGS="$SLKCFLAGS" \
+ CFLAGS="$SLKCFLAGS -fcommon -Wno-error=format-overflow -Wno-error=stringop-truncation" \
CXXFLAGS="$SLKCFLAGS" \
make BITS=$BITS