mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-04-25 19:51:29 +00:00
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.11 2008/05/03 14:48:32 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2008/08/29 00:02:25 gmcgarry Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
@@ -14,6 +14,6 @@ version.c: VERSION
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if ${HAVE_GCC} == 4
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4 || defined(HAVE_PCC)
|
||||
COPTS.print.c+= -Wno-pointer-sign
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user