b8e518528f
clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC after: 1 week
10 lines
251 B
Makefile
10 lines
251 B
Makefile
# $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
|
|
CFLAGS.gcc+= --param max-inline-insns-single=64
|