summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-31 16:21:40 +0200
committer Matteo Bernardini2021-03-06 09:51:58 +0100
commit2a97fe4f3bfd076d2e82559ed5e28b60c27a159a (patch)
tree883bbe53ec61d7583fc86c5bb5ae8476c65c3e19
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-fwupdate.tar.gz
system/fwupdate: Disabled some warnings-as-errors.fwupdate
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/fwupdate/fwupdate.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/fwupdate/fwupdate.SlackBuild b/system/fwupdate/fwupdate.SlackBuild
index 682bce6a05..5487906bf4 100644
--- a/system/fwupdate/fwupdate.SlackBuild
+++ b/system/fwupdate/fwupdate.SlackBuild
@@ -70,6 +70,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|-Og|-Og -Wno-error=address-of-packed-member -Wno-error=pointer-sign|" \
+ {efi,linux}/Makefile
+
# randomly fails with more than one thread
make -j1 \
EFIDIR=Slackware \