tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -mfpmath=387 on sparc64



On Thu, Jan 23, 2014 at 10:33:36PM +0000, John Klos wrote:
> Hi,
> 
> Compiling devel/SDL2 on NetBSD/sparc64 fails with:
> 
> ===> Building for SDL2-2.0.1nb1
> Scanning dependencies of target SDL2
> [  0%] Building C object CMakeFiles/SDL2.dir/src/SDL_assert.c.o
> cc1: error: unrecognized command line option "-mfpmath=387"
> *** Error code 1
> 
> Does someone have a few minutes to fix that?

BUILDLINK_TRANSFORM+= rm:-mfpmath=387

ought to do the trick.

Joerg


Home | Main Index | Thread Index | Old Index