
Partially sent to freebsd-hackers (2011-07-02)

--- a/src/sys/dev/aic7xxx/aicasm/Makefile
+++ b/src/sys/dev/aic7xxx/aicasm/Makefile
@@ -24,6 +24,10 @@
 DEPENDFILE=	.depend_aicasm
 .endif
 
+NO_WERROR?=	1
+LDADD+=		-ldb -lbsd
+CFLAGS+=	-D_GNU_SOURCE -isystem /usr/include/freebsd
+
 CFLAGS+= -I.
 .ifdef MAKESRCPATH
 CFLAGS+= -I${MAKESRCPATH}
