Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Fix -fno-strict-aliasing on Xcode builds #9634

Merged
merged 1 commit into from Apr 17, 2021

Conversation

skylersaleh
Copy link
Contributor

Xcode is configured by default to turn on the strict aliasing optimization through a separate project setting. This would cause the compiler to be called with both -fno-strict-aliasing(from the CMakeLists.txt) and -fstrict-aliasing(appended to the compiler arguments by Xcode) flags. This change turns off this default project setting, causing only the -fno-strict-aliasing flag to be provided to the compiler.

Xcode is configured by default to turn on the strict aliasing optimization
through a separate project setting. This would cause the compiler to be called
with both -fno-strict-aliasing and -fstrict-aliasing. This change turns off
that project setting causing only the -fno-strict-aliasing flag to be provided
to the compiler.
@JMC47
Copy link
Contributor

JMC47 commented Apr 11, 2021

@dolphin-emu-bot rebuild

@ghost
Copy link

ghost commented Apr 13, 2021

Seems okay to me.

@leoetlino leoetlino merged commit e7f68cf into dolphin-emu:master Apr 17, 2021
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants