Page MenuHomeFreeBSD

math/sleef: fix build on powerpc64

Authored by pkubaj on Aug 11 2019, 10:08 AM.



Altivec needs {} for vectors instead of ().
lib/ is not built on powerpc64.

PR: 239468

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Aug 11 2019, 10:08 AM
mat added inline comments.Aug 13 2019, 1:29 PM
23 ↗(On Diff #60648)

ARCH is defined after, no need for the pre/post.

24 ↗(On Diff #60648)

This is badly named, it should be NO_PPC64, as it removes things on PPC64, not adds them.

pkubaj updated this revision to Diff 60741.Aug 13 2019, 4:47 PM

Use and set NO_PPC64.

pkubaj marked 2 inline comments as done.Aug 13 2019, 4:47 PM
mat accepted this revision.Aug 19 2019, 11:55 AM
This revision is now accepted and ready to land.Aug 19 2019, 11:55 AM
This revision was automatically updated to reflect the committed changes.