Skip to content

Commit

Permalink
fix(zsh): need to explicity declare lgcov
Browse files Browse the repository at this point in the history
  • Loading branch information
lseman authored Feb 3, 2024
1 parent 03d01a1 commit 6be7aa6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zsh/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ prepare() {

build() {
cd "${srcdir}/${pkgbase}-${pkgver}"


export LIBS="-lgcov"
export CFLAGS="${CFLAGS} -fprofile-generate -fprofile-update=atomic -fprofile-partial-training"
export CXXFLAGS="${CXXFLAGS} -fprofile-generate -fprofile-update=atomic -fprofile-partial-training"

Expand Down Expand Up @@ -91,7 +91,8 @@ build() {

export CFLAGS="${CFLAGS} -fprofile-use -Wno-error=coverage-mismatch"
export CXXFLAGS="${CXXFLAGS} -fprofile-use -Wno-error=coverage-mismatch"

unset LIBS

make clean
./configure --prefix=/usr \
--docdir=/usr/share/doc/zsh \
Expand Down

0 comments on commit 6be7aa6

Please sign in to comment.