mrsas module: Use MACHINE_ARCH exlcusively
TARGET_ARCH is always wrong when not used at the toplevel Makefile*, or in something that has to be included from there. Switch to using MACHINE_ARCH exclusively here since there's no benefit from assigning TARGET_ARCH the value of MACHINE_ARCH and then using TARGET_ARCH (and make TARGET_ARCH=xxx won't work). Sponsored by: Netflix
This commit is contained in:
parent
b4cea17bf6
commit
4e2a0135a0
@ -15,8 +15,7 @@ SRCS+= device_if.h bus_if.h pci_if.h opt_cam.h opt_scsi.h
|
||||
.include <bsd.kmod.mk>
|
||||
CFLAGS+= -fgnu89-inline
|
||||
|
||||
TARGET_ARCH = ${MACHINE_ARCH}
|
||||
.if ${TARGET_ARCH} == "amd64"
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
CFLAGS+= -DCOMPAT_FREEBSD32
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user