031aa1f46a
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
16 lines
434 B
Makefile
16 lines
434 B
Makefile
# $NetBSD: hacks.mk,v 1.5 2019/11/03 17:12:02 rillig 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 used.
|
|
###
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(CC_VERSION:Mgcc-4.*)
|
|
BUILDLINK_TRANSFORM+= rm:-fmove-all-movables
|
|
.endif
|
|
|
|
.endif # MJPEGTOOLS_HACKS_MK
|