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.