academic/treebest-ensembl: fix build (-fcommon)

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2021-05-18 16:59:47 +03:00 committed by Willy Sudiarto Raharjo
parent 09e71d8896
commit 87625dc50c
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,7 +2,7 @@
# Slackware build script for treebest
# Copyright 2020 Petar Petrov slackalaxy@gmail.com
# Copyright 2020-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -76,10 +76,10 @@ find -L . \
sed -i "/^CFLAGS/s/=/+=/" Makefile
# Make the CLI treebest and the FLTK GUI
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -fcommon" \
make
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -fcommon" \
make fltreebest
install -D -m755 treebest $PKG/usr/bin/treebest