Page MenuHomeFreeBSD

biology/phyml: disable -march=native
AbandonedPublic

Authored by pkubaj on Sep 18 2019, 8:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 31 2023, 9:17 PM
Unknown Object (File)
Sep 21 2023, 5:41 PM
Unknown Object (File)
Sep 11 2023, 4:57 AM
Unknown Object (File)
Jul 8 2023, 9:46 AM
Unknown Object (File)
May 15 2023, 3:33 PM
Subscribers
None

Details

Summary

Disable -march=native. Fixes build on powerpc*.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 26548
Build 24936: arc lint + arc unit

Event Timeline

The patch that I had tested once upon a time was simply:

-.if ${ARCH} != amd64 && ${ARCH} != i386

@${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' ${WRKSRC}/configure.ac

-.endif

In either approach, I slightly prefer just stubbing out the line with 'dnl'. But if your approach is used, the above line in the Makefile becomes redundant.

Would you prefer me to commit your approach?

It was enough to add --disable-native.