Skip to content

lmms_math: Fix build with musl#4825

Merged
lukas-w merged 1 commit into
LMMS:stable-1.2from
nykula:patch-1
Feb 22, 2019
Merged

lmms_math: Fix build with musl#4825
lukas-w merged 1 commit into
LMMS:stable-1.2from
nykula:patch-1

Conversation

@nykula

@nykula nykula commented Feb 14, 2019

Copy link
Copy Markdown
Contributor

When deciding to polyfill glibc features, check if the standard library claims to be glibc, instead of enumerating platforms in the condition. Unlike master branch which in de3b344 changes math function calls to standard, stable-1.2 keeps their glibc names and fails to build on Linux with another libc such as musl.

When deciding to polyfill glibc features, check if the standard library claims to be glibc, instead of enumerating platforms in the condition. Unlike master branch which in de3b344 changes math function calls to standard, stable-1.2 keeps their glibc names and fails to build on Linux with another libc such as musl.
@zonkmachine zonkmachine requested a review from lukas-w February 21, 2019 19:20
@zonkmachine

Copy link
Copy Markdown
Contributor

Merge?

@lukas-w lukas-w merged commit e7720cc into LMMS:stable-1.2 Feb 22, 2019
@jasp00

jasp00 commented Feb 22, 2019

Copy link
Copy Markdown
Member

A build pass should be proposed if musl is supported.

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.

4 participants