HomeFreeBSD

lang/ghc: fix build on powerpc64 elfv1

Description

lang/ghc: fix build on powerpc64 elfv1

Dtrace doesn't seem to work on elfv1 powerpc64 (at least on 12.0-RELEASE).

Also properly detect when running on elfv1 and elfv2.

PR: 239193
Approved by: arrowd (maintainer), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D20995

Details

Provenance
pkubajAuthored on
Differential Revision
D20995: lang/ghc: fix build on powerpc64 elfv1
Parents
rP507819: math/g2o: fix build on non-x86 architectures
Branches
Unknown
Tags
Unknown