aboutsummaryrefslogtreecommitdiff
path: root/misc/lastpass-cli
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 17:53:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:38 +0700
commit5b9df04ce5eef1a5390004b60b0d6fa7208b3fb5 (patch)
treeaf3f8280e2fae4b3df5cacd4a61f5d9135be51e7 /misc/lastpass-cli
parent54eea19a224565f38f648f229093079f7396bd10 (diff)
misc/lastpass-cli: Fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/lastpass-cli')
-rw-r--r--misc/lastpass-cli/lastpass-cli.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/lastpass-cli/lastpass-cli.SlackBuild b/misc/lastpass-cli/lastpass-cli.SlackBuild
index 2d730ca558c75..519e89a8c3504 100644
--- a/misc/lastpass-cli/lastpass-cli.SlackBuild
+++ b/misc/lastpass-cli/lastpass-cli.SlackBuild
@@ -79,6 +79,8 @@ 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 {} \;
+export CFLAGS+="$SLKCFLAGS -fcommon"
+
make
make install DESTDIR=$PKG
make install-doc MANDIR=$PKG/usr/man