https://bugs.winehq.org/show_bug.cgi?id=42437
Bug ID: 42437 Summary: Wine Wiki: Building Wine - Compiler Optimizations & Call-Stacks Product: WineHQ.org Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: www-unknown Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
Wiki link: https://wiki.winehq.org/Building_Wine#Compiler_Optimizations_.26_Call-Stacks
Says: ../wine-source/configure CFLAGS="-g -O1 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline"
IMHO these two are superfluous as: * "optimize-sibling-calls" is disabled in -O1 and enabled since -O2 * "omit-frame-pointer" is disabled in -O0, -O1 and -O2
at least by comparing output of following two commands: gcc -g -O1 -Q --help=common gcc -g -O1 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline -Q --help=common
I tried that on Debian Stretch. Gcc (Debian 6.3.0-6) 6.3.0 20170205