Add MKEMBED option
This commit is contained in:
parent
3a69da5f86
commit
1d45d57e40
2 changed files with 7 additions and 1 deletions
|
@ -772,7 +772,7 @@ _MKVARS.no= \
|
|||
MKUNPRIVED MKUPDATE MKX11 MKZFS
|
||||
#MINIX-specific vars
|
||||
_MKVARS.no+= \
|
||||
MKIMAGEONLY
|
||||
MKIMAGEONLY MKEMBED
|
||||
.for var in ${_MKVARS.no}
|
||||
${var}?=no
|
||||
.endfor
|
||||
|
|
|
@ -236,6 +236,12 @@ AR?= aal
|
|||
.elif !empty(CC:M*gcc) || !empty(CC:M*clang) || !empty(CC:M*pcc)
|
||||
COMPILER_TYPE=gnu
|
||||
AR?= ar
|
||||
|
||||
.if ${MKEMBED} == "yes"
|
||||
DBG= -Os
|
||||
CFLAGS+= -DNDEBUG=1
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
||||
# Set NBSD_LIBC to either "yes" or "no".
|
||||
|
|
Loading…
Reference in a new issue