aboutsummaryrefslogtreecommitdiff
path: root/misc/pinfo/pinfo.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-06 14:02:29 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:53:46 -0500
commitcada0a82fd7a6dd2fcadc818aa33c5e53c878bf1 (patch)
treec0fb78c5ee5dc7780d5d1fcd41c4cc7fa4bf2ac3 /misc/pinfo/pinfo.SlackBuild
parent6b70bf725c2ef8acb5324bb2f9b5a241ec853568 (diff)
misc/pinfo: Fix building with gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/pinfo/pinfo.SlackBuild')
-rw-r--r--misc/pinfo/pinfo.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild
index 5b318d1b5a7b2..779bf904ac100 100644
--- a/misc/pinfo/pinfo.SlackBuild
+++ b/misc/pinfo/pinfo.SlackBuild
@@ -79,9 +79,11 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+patch -p1 < $CWD/gcc10-stringop.diff
+
[ -e configure ] || sh autogen.sh
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \