academic/bwa: fix build -fcommon

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

View file

@ -2,7 +2,7 @@
# Slackware build script for bwa
# Copyright 2013-2018 Petar Petrov slackalaxy@gmail.com
# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=bwa
VERSION=${VERSION:-0.7.17}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -73,7 +73,7 @@ find -L . \
sed -i "/^C.*.*FLAGS/s/=/+=/" Makefile
# Thanks to Willy for the -msse2 fix!
CFLAGS="$SLKCFLAGS -msse2" \
CFLAGS="$SLKCFLAGS -msse2 -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
make