diff options
author | scottl <scottl@FreeBSD.org> | 2001-04-01 08:33:01 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2001-04-01 08:33:01 +0000 |
commit | ee99514290d0b872945b39139ef67e4f426da459 (patch) | |
tree | 1340cdec014559fa122c8f928467a997b3968ab1 /sys/modules | |
parent | 2b9c29467dbaa8502fe34679f7b6e456b867b23c (diff) | |
download | FreeBSD-src-ee99514290d0b872945b39139ef67e4f426da459.zip FreeBSD-src-ee99514290d0b872945b39139ef67e4f426da459.tar.gz |
Make an attempt to get the asr driver to compile on Alpha by fixing some i386
specific bogons. Compile with -O0, as anything higher gives the compiler
a fit. No idea if this driver will actually work on Alpha, though.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/asr/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/asr/Makefile b/sys/modules/asr/Makefile index ca2b098..399ef3e 100644 --- a/sys/modules/asr/Makefile +++ b/sys/modules/asr/Makefile @@ -7,4 +7,8 @@ SRCS= asr.c SRCS+= opt_scsi.h opt_cam.h opt_asr.h SRCS+= device_if.h bus_if.h pci_if.h +.if ${MACHINE_ARCH} == "alpha" +CFLAGS+= -O0 +.endif + .include <bsd.kmod.mk> |