I'm building musl-libc
statically for a project on an aarch64
(ARM 64-bit) platform. I'd like to avoid any soft floating point libraries such as GCC's soft float library routines. However, these are still appearing in the library archives even when I use -mfloat-abi=hard
. As best I can tell, this is because ARM 64-bit platforms define a long double
to be 128 bits.
Is there any way to change this behavior? For example, could I force long double
to be defined as the same size as a double
? I know this is allowed by the C standard, but I'm unsure if there's any way to force Clang (I'm specifically using Clang for this) to compile with such a definition.