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

Use correct VST 3 directory name on PowerPC #448

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

taylordotfish
Copy link
Contributor

The VST 3 specification declares that, on Linux, the name of the directory containing the plugin binary should begin with uname -m, but Makefile.base.mk uses the output of gcc -dumpmachine, which isn't always equivalent. In particular, this is the case for PowerPC—for example, on 64-bit little-endian PowerPC, uname -m is ppc64le, but gcc -dumpmachine is powerpc64le-linux-gnu, so the binary directory is incorrectly named powerpc64le-linux rather than ppc64le-linux.

This PR fixes the directory name on PowerPC, and also adds support for PowerPC in the CMake version, which currently errors.

@taylordotfish taylordotfish changed the base branch from main to develop February 9, 2024 13:08
Should be ppc[64][le]-linux, depending on word size and endianness.
@falkTX
Copy link
Contributor

falkTX commented Feb 9, 2024

I was thinking of using uname -m but then the issue with uname -m is that it reports the host architecture, where we could be cross-compiling for something else entirely.
So actually your solution works better.
Thanks!

@falkTX falkTX merged commit 637870a into DISTRHO:develop Feb 9, 2024
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants