Changeset View
Changeset View
Standalone View
Standalone View
stand/defs.mk
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | |||||
.if ${MACHINE_ARCH} == "powerpc64" | .if ${MACHINE_ARCH} == "powerpc64" | ||||
CFLAGS+= -mlittle-endian | CFLAGS+= -mlittle-endian | ||||
.endif | .endif | ||||
.endif | .endif | ||||
# Make sure we use the machine link we're about to create | # Make sure we use the machine link we're about to create | ||||
CFLAGS+=-I. | CFLAGS+=-I. | ||||
# size matters! | |||||
CFLAGS+= -O1 | |||||
imp: Not sure that this is the right place... | |||||
all: ${PROG} | all: ${PROG} | ||||
.if !defined(NO_OBJ) | .if !defined(NO_OBJ) | ||||
_ILINKS=machine | _ILINKS=machine | ||||
.if ${MACHINE} != ${MACHINE_CPUARCH} && ${MACHINE} != "arm64" | .if ${MACHINE} != ${MACHINE_CPUARCH} && ${MACHINE} != "arm64" | ||||
_ILINKS+=${MACHINE_CPUARCH} | _ILINKS+=${MACHINE_CPUARCH} | ||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | ||||
Show All 33 Lines |
Not sure that this is the right place...