Skip to content

Commit

Permalink
Fix for broken cross-build to Windows target
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzygarmyz authored Aug 13, 2024
1 parent 6b8ad2f commit a6cd1aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions depends/hosts/mingw32.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
mingw32_CFLAGS=-pipe
mingw32_CXXFLAGS=$(mingw32_CFLAGS)

mingw32_LDFLAGS?=-fuse-ld=lld
mingw32_LDFLAGS+=-L/usr/lib/gcc/x86_64-w64-mingw32/$(shell x86_64-w64-mingw32-g++-posix -dumpversion)

mingw32_release_CFLAGS=-O1
mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS)

Expand Down

0 comments on commit a6cd1aa

Please sign in to comment.