OS X universal build fails
I'm building the love-experiments moduleselect branch on OS X 10.9 Mavericks because the mainline doesn't build on OS X right now. I'm using
make, not the Xcode project.
Building for a single architecture (e.g. using
-arch x86_64 in
$LDFLAGS) works, but building for multiple architectures simultaneously (e.g.
-arch x86_64 -arch i386) fails:
modules/graphics/opengl/GLee.h:1059:20: error: typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'long')
It is common to want to build universal binaries on OS X, especially for libraries like LÖVE which get used by many other programs, not all of which will necessarily be built for the same architecture.