Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 18:51:12 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243035 - head/usr.bin/mkcsmapper
Message-ID:  <201211141851.qAEIpCP5029532@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Nov 14 18:51:12 2012
New Revision: 243035
URL: http://svnweb.freebsd.org/changeset/base/243035

Log:
  For mkcsmapper, conditionalize gcc-specific compile flags.
  
  MFC after:	3 days

Modified:
  head/usr.bin/mkcsmapper/Makefile.inc

Modified: head/usr.bin/mkcsmapper/Makefile.inc
==============================================================================
--- head/usr.bin/mkcsmapper/Makefile.inc	Wed Nov 14 18:49:03 2012	(r243034)
+++ head/usr.bin/mkcsmapper/Makefile.inc	Wed Nov 14 18:51:12 2012	(r243035)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211141851.qAEIpCP5029532>