Author Topic: patch for the autotools build to work with Msys2/MinGW32  (Read 238 times)

Offline reckless

  • Regular
  • ***
  • Posts: 339
patch for the autotools build to work with Msys2/MinGW32
« on: May 16, 2024, 05:30:12 pm »
The Msys2 devs dont want it since they are deprecating win32 but for those of us who still use 32 bit sometimes this fixes the build.

the problem as noticed by others is that windres on 32 bit mingw gets passed -mthreads via the WX_CXXFLAGS flag.
changed it to WX_CPPFLAGS as both return the same minus the -mthreads flag.

« Last Edit: May 16, 2024, 05:32:07 pm by reckless »

Offline Grit Clef

  • Multiple posting newcomer
  • *
  • Posts: 62
  • Where there is a will, there is a way.
Re: patch for the autotools build to work with Msys2/MinGW32
« Reply #1 on: Yesterday at 06:30:38 am »
Good! Simple but useful for me.
-Windows 7, 32-bit
-CodeBlocks r13518, gcc 13.2.0, debug version