aboutsummaryrefslogtreecommitdiff
path: root/development/acpica
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-07 19:53:21 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:06:05 -0500
commitd61d744e2075f3211a550bb4c2261bdf074d1c27 (patch)
tree19a959c792f28706dff57c183be5c31350e2f981 /development/acpica
parent9c0961fd7749f0819bfbf6c282e5bef29b37b7fd (diff)
development/acpica: Pass -fcommon for gcc >= 10.x.
Disable some warnings-as-errors Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/acpica')
-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 f3ffc6d06fe05..734499bb12e3f 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