Skip to content

Commit

Permalink
Allow building mingw-w64-cppunit with LLVM/Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jan 1, 2025
1 parent 0a046dc commit 9ab7f04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cppunit/mingw-w64/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ build() {
mkdir -p "${srcdir}/${_name}-${pkgver}/build-${_arch}"
cd "${srcdir}/${_name}-${pkgver}/build-${_arch}"
${_arch}-configure
if [[ $pkgname =~ .*-clang-.* ]]; then
# workaround libtool issue, see https://github.com/mstorsjo/llvm-mingw#known-issues
sed -i -e 's|-nostdlib||g' libtool
fi
make
done
}
Expand Down

0 comments on commit 9ab7f04

Please sign in to comment.