From 5bf6c66afc45464d8727bbf83fa65f493eea011c Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 14 Nov 2012 18:51:12 +0000 Subject: For mkcsmapper, conditionalize gcc-specific compile flags. MFC after: 3 days --- usr.bin/mkcsmapper/Makefile.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/mkcsmapper') 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 + 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 -- cgit v1.1