Skip to content

Commit

Permalink
Update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
bpangWR committed Oct 5, 2020
1 parent e4dd56f commit dd52282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PKGBUILD
Expand Up @@ -19,7 +19,7 @@ prepare() {

build() {
cd "$srcdir/$pkgname-$pkgver/build"
# makepkg would set these environment variables, but they are invalid for mingw-w64-gcc
# makepkg would set these environment variables, but they are not proper for cross-compiling using mingw-w64-gcc
unset LDFLAGS CFLAGS CXXFLAGS CHOST CPPFLAGS COMMAND_MODE
cmake ../llvm -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc \
-DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++ \
Expand Down

0 comments on commit dd52282

Please sign in to comment.