Disable -march=native. Fixes build on powerpc*.
Diff Detail
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
Comment Actions
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.