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:
parent
8c7c081919
commit
1275b2e250
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75093
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user