From ff0dd2e517a000de5707292356214a33bf35e680 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 21 Dec 2011 20:23:03 +0000 Subject: [PATCH] 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(+) diff --git a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile index 9a595806500d..37553d627839 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 25f312fcd842..19c13d2cdc51 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}