diff options
Diffstat (limited to 'multimedia/mjpegtools/hacks.mk')
-rw-r--r-- | multimedia/mjpegtools/hacks.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/hacks.mk b/multimedia/mjpegtools/hacks.mk new file mode 100644 index 00000000000..6fda52f341c --- /dev/null +++ b/multimedia/mjpegtools/hacks.mk @@ -0,0 +1,16 @@ +# $NetBSD: hacks.mk,v 1.1 2005/06/15 22:42:38 hubertf Exp $ + +.if !defined(MJPEGTOOLS_HACKS_MK) +MJPEGTOOLS_HACKS_MK= defined + +### Hack to work around MacOS X 4.x (and probably other)'s gcc 4.x +### which does not understand -fmove-all-movables. Remove that option +### if gcc-4 is _not_ used. +### +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc-4.*) +BUILDLINK_TRANSFORM+= rm:-fmove-all-movables +.endif + +.endif # MJPEGTOOLS_HACKS_MK |