File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 fail-fast : false
4949 matrix :
5050 version : ${{ fromJson(inputs.windows_versions || '[2025]') }}
51- build-type : ${{ fromJson(inputs.build-types || '["release"]') }}
51+ build-type : ${{ fromJson(inputs.build-types || '["debug", " release"]') }}
5252
5353 name : Windows Server ${{ matrix.version }} ${{ matrix.build-type }} - ${{github.workflow}}
5454 runs-on : windows-${{ matrix.version }}
Original file line number Diff line number Diff line change 9797 fail-fast : false
9898 matrix :
9999 cfg :
100+ - {opts: --enable-debug}
100101 - {opts: --enable-optim --enable-generic}
101102
102103 name : Windows Server 2025 with ${{ matrix.cfg.opts }} - ${{ github.workflow }}
Original file line number Diff line number Diff line change 9898 fail-fast : false
9999 matrix :
100100 cfg :
101+ - {opts: --enable-debug}
101102 - {opts: --enable-optim --enable-generic}
102103
103104 name : Windows Server 2025 with ${{ matrix.cfg.opts }} - ${{github.workflow}}
Original file line number Diff line number Diff line change @@ -617,6 +617,14 @@ CYGWIN*|MINGW*|MSYS_NT*)
617617 CXXFLAGS="$CXXFLAGS -I/usr/include/mingw"
618618 CFLAGS="$CFLAGS -I/usr/include/mingw"
619619 CNOFLAGS="$CNOFLAGS -I/usr/include/mingw"
620+ if test "$enable_debug" = yes;
621+ then
622+ # Increase the COFF relocation section size. Adress
623+ # space isn't big enough otherwise.
624+ # See: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#coff-relocations-object-only
625+ CXXFLAGS="$CXXFLAGS -Wa,-mbig-obj"
626+ CFLAGS="$CFLAGS -Wa,-mbig-obj"
627+ fi
620628 fi
621629
622630 LIBS="$LIBS -mthreads -lws2_32 -lcomdlg32"
You can’t perform that action at this time.
0 commit comments