diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-05-25 10:11:04 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-26 08:07:33 +0700 |
commit | 828eb899f7120f42700d5e1be27a5cc5ae18f896 (patch) | |
tree | 8b564c87fb61654b8005b70c76a5bbb9779bfd3a /academic/gpredict | |
parent | ce08f9db3f13cf5fb0e3096919bef2c840513f54 (diff) |
academic/gpredict: Fix for gcc >= 10.x.
Thanks to enine on LQ
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/gpredict')
-rw-r--r-- | academic/gpredict/gpredict.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/academic/gpredict/gpredict.SlackBuild b/academic/gpredict/gpredict.SlackBuild index b3e4f352d849..d2844dce1f24 100644 --- a/academic/gpredict/gpredict.SlackBuild +++ b/academic/gpredict/gpredict.SlackBuild @@ -70,11 +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 {} \; -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +./autogen.sh \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ |