mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
b294993d63
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
|