mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Pass "WANT_KANJI" from make.conf to the compiler.
This commit is contained in:
parent
58a09c5f58
commit
c22ae8f672
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59576
@ -6,12 +6,15 @@
|
||||
#
|
||||
# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
|
||||
|
||||
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
|
||||
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
|
||||
.PATH: ${TCSHDIR}
|
||||
|
||||
PROG= csh
|
||||
SUBDIR= nls
|
||||
DFLAGS= -D_PATH_TCSHELL='"${DESTDIR}/bin/${PROG}"'
|
||||
.if defined(WANT_KANJI)
|
||||
DFLAGS+= -DWANT_KANJI
|
||||
.endif
|
||||
CFLAGS+= -I${TCSHDIR} -I${.CURDIR} -I. ${DFLAGS}
|
||||
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
|
||||
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
|
||||
|
Loading…
Reference in New Issue
Block a user