- honor NO_WERROR

Approved by:	mi@corbulon.video-collage.com
This commit is contained in:
Dirk Meyer 2003-04-06 17:09:47 +00:00
parent d3cace9ea5
commit 034cbdb998
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78440

View File

@ -8,7 +8,7 @@ INCSDIR = ${LOCALBASE}/include
INCDIR = ${INCSDIR} # for pre-bsd.incs.mk API
NOPROFILE= Don't want it
CFLAGS+= -DHAVE_WCHAR_H=1 -DHAVE_DLFCN_H=1 -Werror
CFLAGS+= -DHAVE_WCHAR_H=1 -DHAVE_DLFCN_H=1
CPPS != find ${.CURDIR} -name \*.cpp -print
# Some of the .cxx files are #include-ed into others, so can't use `find' here:
@ -33,6 +33,6 @@ LDADD += -L${LOCALBASE}/lib -ljpeg -lstdc++
CXXFLAGS+= -I${.CURDIR}/$d
.endfor
CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX -Wno-error
CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX
.include <bsd.lib.mk>