Unbreak amd64<->i386 cross builds.
This commit is contained in:
parent
e2c3e32a6c
commit
35d4aa10d7
@ -19,8 +19,9 @@ CFLAGS+= ${DRIVER_DEFINES}
|
|||||||
|
|
||||||
SRCS= gcc.c opts-common.c options.c intl.c prefix.c version.c
|
SRCS= gcc.c opts-common.c options.c intl.c prefix.c version.c
|
||||||
|
|
||||||
.if ${TARGET_ARCH} == ${MACHINE_ARCH} && \
|
# Include -march=native support for native-ish compilers only
|
||||||
exists(${GCCDIR}/config/${GCC_CPU}/driver-${GCC_CPU}.c)
|
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64") && \
|
||||||
|
${GCC_CPU} == "i386"
|
||||||
SRCS+= driver-${GCC_CPU}.c
|
SRCS+= driver-${GCC_CPU}.c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user