summaryrefslogtreecommitdiffstats
path: root/system/fwupdate/fwupdate.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fwupdate/fwupdate.SlackBuild')
-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 \