Disable -Wconstant-conversion warnings for the aic7xxx module in a more
fine-grained way: only add the option for the specific .c files that need them, like via sys/conf/files. MFC after: 1 week
This commit is contained in:
parent
268e76d86e
commit
40c56173c2
@ -12,6 +12,8 @@ SRCS+= device_if.h bus_if.h pci_if.h
|
||||
SRCS+= opt_scsi.h opt_cam.h opt_aic7xxx.h
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../../dev/aic7xxx -I..
|
||||
CWARNFLAGS+= ${NO_WCONSTANT_CONVERSION}
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CWARNFLAGS.ahc_pci.c= ${NO_WCONSTANT_CONVERSION}
|
||||
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
|
@ -32,8 +32,10 @@ SRCS= ${GENSRCS}
|
||||
SRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c
|
||||
SRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h
|
||||
SRCS+= device_if.h bus_if.h pci_if.h
|
||||
CWARNFLAGS+= ${NO_WCONSTANT_CONVERSION}
|
||||
|
||||
CLEANFILES= ${GENSRCS}
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CWARNFLAGS.ahd_pci.c= ${NO_WCONSTANT_CONVERSION}
|
||||
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
|
Loading…
Reference in New Issue
Block a user