allow build with more warnings enabled, NO_WERROR=yes
Approved by: marcus
This commit is contained in:
parent
ae533b0f59
commit
39387b9486
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78324
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue