From d24fa001e9004ec4a6f53ac209eeb53f2b6cc1ab Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 21 Dec 2011 20:23:03 +0000 Subject: Amend r228779 by also disabling -Wconstant-conversion warnings for the aic7xxx module. MFC after: 1 week --- sys/modules/aic7xxx/ahc/ahc_pci/Makefile | 1 + sys/modules/aic7xxx/ahd/Makefile | 1 + 2 files changed, 2 insertions(+) (limited to 'sys/modules/aic7xxx') diff --git a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile index 9a59580..37553d6 100644 --- a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile +++ b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile @@ -12,5 +12,6 @@ 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 diff --git a/sys/modules/aic7xxx/ahd/Makefile b/sys/modules/aic7xxx/ahd/Makefile index 25f312f..19c13d2 100644 --- a/sys/modules/aic7xxx/ahd/Makefile +++ b/sys/modules/aic7xxx/ahd/Makefile @@ -32,6 +32,7 @@ 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} -- cgit v1.1