- Fix build on i386 as suggested by Pavel Odintsov <pavel.odintsov@gmail.com>
Details
Details
- Reviewers
philip bapt mat - Commits
- rP395820: - Fix build on i386
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I'm not sure I understand what it does.
Does this mean it needs at least an i586 to build ?
Comment Actions
Because, as I read this, it's about like "if we're an i386, and it's not an i586, do as if we're an i586 anyway."
In that case, adding:
CFLAGS_i386= -march=i586
will do the same, and you don't need bsd.port.pre.mk.
Comment Actions
In the commit message, you may add a note about it not working if <i586, explaining a bit why the change is needed :-)