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

CMake: Only link in Bochs on x86 platforms #7161

Merged
merged 1 commit into from
Sep 16, 2018

Conversation

lioncash
Copy link
Member

Bochs' disassembler is only for disassembling x86 code. On non-x86 platforms it doesn't really make sense to build and link this in.

@degasus
Copy link
Member

degasus commented Jun 23, 2018

This PR only removes the linking on non-x64 plattforms. What about https://github.com/dolphin-emu/dolphin/blob/master/CMakeLists.txt#L528 ?

@leoetlino
Copy link
Member

Changes LGTM -- could you rebase this please?

@lioncash
Copy link
Member Author

lioncash commented Jul 5, 2018

@leoetlino Done. Unless I'm missing something obvious somewhere, the android build failure is due to the CMake cache needing to be flushed on the Android buildbot

@lioncash lioncash force-pushed the disasm branch 4 times, most recently from 0a5d113 to a83766f Compare July 12, 2018 20:44
Bochs' disassembler is only for disassembling x86 code. On non-x86
platforms it doesn't really make sense to build and link this in.
@lioncash
Copy link
Member Author

lioncash commented Jul 12, 2018

There we go, finally. For whatever reason, CMAKE_SYSTEM_PROCESSOR was being defined as x86_64, despite the fact we were cross-compiling for Android, so bdisasm would be attempted to be linked in. So I'll assume Android shenanigans where variables aren't being properly set.

@leoetlino leoetlino merged commit 80c402e into dolphin-emu:master Sep 16, 2018
@lioncash lioncash deleted the disasm branch September 16, 2018 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants