MestreLion/wavegain

make on OSX fails

Opened this issue · 4 comments

make on OSX fails
Here's the error output from a fresh clone:
https://gist.github.com/be302e2e7f303cf64a20399b7aa2dbbd

It seems clang does not accept -m32 option to generate a 32-bit executable on OSX, and that is ultimately causing the build errors. I could try to find an alternative to force a 32-bit build in clang, but I lack an OSX for testing.

Does adding -arch i386 to CFLAGS fixes the problem?

Also, you might need to install some gcc multiarch packages, or their equivalent in OSX.

From your log files, it seems OSX cannot build i386 anymore :-(

ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)