[Bug 54214] New: No way to pass optimization levels in x86_64_CFLAGS to mingw
https://bugs.winehq.org/show_bug.cgi?id=54214 Bug ID: 54214 Summary: No way to pass optimization levels in x86_64_CFLAGS to mingw Product: Wine Version: 8.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: shtetldik(a)gmail.com Distribution: --- I'm trying to build Wine with increased optimizations, and while setting CFLAGS / CXXFLAGS works for native compilation parts (using: -O3 -march=znver3), when it's doing cross compilation parts, those aren't picked up and uses default (-g -O2). I looked into the definitions, and Makefile is using x86_64_CFLAGS for mingw invocations. But setting that in the environment is ignored. What is the way to pass optimization levels to cross compilation part? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54214 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com --- Comment #1 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Try CROSSCFLAGS -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54214 --- Comment #2 from Shmerl <shtetldik(a)gmail.com> --- (In reply to Zhiyi Zhang from comment #1)
Try CROSSCFLAGS
Perfect, that worked. Thanks! It would be good to add that info to configure --help, since it mentions CFLAGS only, so it's pretty obscure how to set that for cross compilation part. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54214 Shmerl <shtetldik(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|No way to pass optimization |Document a way to pass |levels in x86_64_CFLAGS to |optimization levels to |mingw |mingw through CROSSCFLAGS | |in configure --help -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla