summaryrefslogtreecommitdiff
path: root/network/efax
diff options
context:
space:
mode:
authorJay <ld.jay@protonmail.com>2021-09-02 22:58:00 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:31 +0700
commita0d969e43f6d1c4a386ecbaa461a998692fb14ec (patch)
tree112dd17955fb12c62e277a8c5f472b219da7d7fe /network/efax
parent04c60f0ee12caaac8dbd972d2a4f36cf52fb700e (diff)
downloadslackbuilds-a0d969e43f6d1c4a386ecbaa461a998692fb14ec.tar.gz
network/efax: Pass -fcommon for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/efax')
-rw-r--r--network/efax/efax.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/efax/efax.SlackBuild b/network/efax/efax.SlackBuild
index 7f95ec0643..4885790079 100644
--- a/network/efax/efax.SlackBuild
+++ b/network/efax/efax.SlackBuild
@@ -95,7 +95,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "11s/CFLAGS=/CFLAGS=$SLKCFLAGS/" Makefile
+sed -i "11s/CFLAGS=/CFLAGS=$SLKCFLAGS -fcommon/" Makefile
sed -i "20i\
BINDIR=$PKG\/usr\/bin" Makefile
sed -i "21i\