Pretty simple, move the use of MMX under checks for i386/amd64 protection
Else, this port blows up trying to code to use instructions that don't exist on
armv6 etc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
That looks messy. OPTIONS_DEFINE_i386 offers the option only on x86 platforms and enables or disables it on those. Otherwise the default detection for MMX should do the right thing.
You want that fix, because sdl_gfx tries to use MMX on armv6? If so, I'd rather see something like
.if (${ARCH] == "armv6")
CONFIGURE_ARGS += ..
.endif
Comment Actions
Redports build now show all builds pass and that mmx is turned off by default.
https://redports.org/buildarchive/20140911175500-12806/