allow build with more warnings enabled, NO_WERROR=yes

Approved by:	marcus
This commit is contained in:
Dirk Meyer 2003-04-05 18:46:56 +00:00
parent ae533b0f59
commit 39387b9486
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78324

View file

@ -62,6 +62,10 @@ FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1
.if ${OSVERSION} > 500000
# Galeon does not build correctly in -CURRENT if -Werror is passed
# to the compiler.
NO_WERROR= yes
.endif
# allow build with more warnings enabled
.if defined(NO_WERROR)
CONFIGURE_ARGS+= --disable-werror
.endif