Changeset 492


Ignore:
Timestamp:
02/15/16 00:12:08 (8 years ago)
Author:
r2d
Message:

apply patch from buildroot:
https://git.busybox.net/buildroot/tree/package/musepack/0003-include-fpu-control-with-glibc-only.patch
Include <fpu_control.h> only on glibc systems

The <fpu_control.h> header provides _FPU_*() macros, which the
Init_FPU() function uses only on i386, and only when they are
defined. Since <fpu_control.h> is not available, this causes a build
failure with C libraries such as musl. By simply including
<fpu_control.h> explicitly on glibc systems, we avoid the build
failure, since mpcenc.c already conditionally uses the <fpu_control.h>
macros only if they are defined.

Signed-off-by: Bernd Kuhls <bernd.kuhls@…>
[Thomas: better commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.