diff options
Diffstat (limited to 'usr.bin/mkcsmapper/Makefile.inc')
-rw-r--r-- | usr.bin/mkcsmapper/Makefile.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/mkcsmapper/Makefile.inc b/usr.bin/mkcsmapper/Makefile.inc index ca8a675..e0acc9b 100644 --- a/usr.bin/mkcsmapper/Makefile.inc +++ b/usr.bin/mkcsmapper/Makefile.inc @@ -1,7 +1,11 @@ # $FreeBSD$ +.include <bsd.compiler.mk> + SRCS+= lex.l yacc.y CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mkcsmapper \ -I${.CURDIR}/../../lib/libc/iconv \ - -I${.CURDIR}/../../lib/libiconv_modules/mapper_std \ - --param max-inline-insns-single=64 + -I${.CURDIR}/../../lib/libiconv_modules/mapper_std +.if ${COMPILER_TYPE} == "gcc" +CFLAGS+= --param max-inline-insns-single=64 +.endif |