Skip to content

Enable Windows big-object mode (-Wa,-mbig-obj) to avoid COFF section-limit build failures#38

Open
RiyanshiTomar wants to merge 2 commits into
GeomScale:developfrom
RiyanshiTomar:develop
Open

Enable Windows big-object mode (-Wa,-mbig-obj) to avoid COFF section-limit build failures#38
RiyanshiTomar wants to merge 2 commits into
GeomScale:developfrom
RiyanshiTomar:develop

Conversation

@RiyanshiTomar
Copy link
Copy Markdown

Solved : #31

-> Added a short explanatory comment and appended the assembler flag -Wa,-mbig-obj to PKG_CXXFLAGS in src/Makevars.win so Windows builds use big-object format.
-> The change targets only the Windows-specific Makevars.win to avoid affecting other platforms.

Description
-> Add Windows big-object assembler flag to prevent COFF section-limit failures

-> Enable -Wa,-mbig-obj in PKG_CXXFLAGS for template-heavy compilation units

-> Include explanatory comment documenting the purpose of the flag

-> Fix newline at end of file

…e-issue

Enable Windows big-object mode (-Wa,-mbig-obj) to avoid COFF section-limit build failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant