1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Make sure warnings are not fatal when compiling the C++ parts of this

package by explicitly appending -Wno-error to CXXFLAGS. This assumes,
the compiler is from the gcc family, but the assumption was already
there -- in the explicit -Werror appended to CFLAGS.

Reported by:	Dirk Meyer
This commit is contained in:
Mikhail Teterin 2003-02-08 05:59:12 +00:00
parent 8c7c081919
commit 1275b2e250
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75093

View File

@ -33,6 +33,6 @@ LDADD += -L${LOCALBASE}/lib -ljpeg -lstdc++
CXXFLAGS+= -I${.CURDIR}/$d
.endfor
CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX
CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX -Wno-error
.include <bsd.lib.mk>