mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue