mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 00:36:30 +00:00
Force -fno-sibling-call-optimisation to every module's CFLAGs. This fixes *numerous* bugs (thanks to a bug in GCC itself), even in DBG=1 builds!
Just an example, comctl32.dll doesn't crash anymore in LISTVIEW_Callback(). Thanks to Dmitriy Philippov (aka Shedon) for encountering the comctl32 bug and investigating it! svn path=/trunk/; revision=23524
This commit is contained in:
parent
cd084157bd
commit
0468c25a60
1 changed files with 4 additions and 0 deletions
|
@ -1885,6 +1885,10 @@ MingwModuleHandler::GenerateOtherMacros ()
|
|||
globalCflags += " -pipe";
|
||||
if ( !module.allowWarnings )
|
||||
globalCflags += " -Werror";
|
||||
|
||||
// Always force disabling of sibling calls optimisation for GCC
|
||||
// (TODO: Move to version-specific once this bug is fixed in GCC)
|
||||
globalCflags += " -fno-optimize-sibling-calls";
|
||||
|
||||
fprintf (
|
||||
fMakefile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue