HAVE_GCC may not be set at all
This commit is contained in:
parent
f0286f687e
commit
2aa3eb8e7d
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2016/08/20 20:22:54 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2016/09/05 06:30:40 martin Exp $
|
||||
|
||||
DRIVER= xf86-video-suncg6
|
||||
DRIVER_NAME= suncg6_drv
|
||||
|
@ -12,6 +12,6 @@ MAN= suncg6.4
|
|||
.include "../Makefile.xf86-driver"
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} > 48
|
||||
.if ${HAVE_GCC:U0} > 48
|
||||
COPTS.cg6_accel.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2016/08/22 08:39:20 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2016/09/05 06:30:40 martin Exp $
|
||||
|
||||
DRIVER= xf86-video-sunffb
|
||||
DRIVER_NAME= sunffb_drv
|
||||
|
@ -24,7 +24,7 @@ MAN= sunffb.4
|
|||
.include "../Makefile.xf86-driver"
|
||||
|
||||
# XXX
|
||||
.if ${HAVE_GCC} > 48
|
||||
.if ${HAVE_GCC:U0} > 48
|
||||
COPTS.ffb_dac.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
|
||||
COPTS.ffb_dga.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue