windows: add brave new mingw compat hook for gcc 12.2.0+

This commit is contained in:
Michael Scire committed 2023-03-07 22:07:03 -07:00
1 parent 8da4d14e15
commit 68040e2922
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ export CXXWRAPS := -Wl,--wrap,__cxa_pure_virtual \
-Wl,--wrap,exit
else ifeq ($(ATMOSPHERE_BOARD),generic_windows)
export CXXREQUIRED :=
export CXXWRAPS := -Wl,--wrap,__p__acmdln
export CXXWRAPS := -Wl,--wrap,__p__acmdln -Wl,--wrap,_set_invalid_parameter_handler
else
export CXXREQUIRED :=
export CXXWRAPS :=