Changeset View
Changeset View
Standalone View
Standalone View
share/mk/sys.mk
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | |||||
AFLAGS ?= | AFLAGS ?= | ||||
ACFLAGS ?= | ACFLAGS ?= | ||||
.if defined(%POSIX) | .if defined(%POSIX) | ||||
CC ?= c89 | CC ?= c89 | ||||
CFLAGS ?= -O | CFLAGS ?= -O | ||||
.else | .else | ||||
CC ?= cc | CC ?= cc | ||||
CFLAGS ?= -O2 -pipe | CFLAGS ?= -O3 -pipe | ||||
.if defined(NO_STRICT_ALIASING) | .if defined(NO_STRICT_ALIASING) | ||||
CFLAGS += -fno-strict-aliasing | CFLAGS += -fno-strict-aliasing | ||||
.endif | .endif | ||||
.endif | .endif | ||||
IR_CFLAGS ?= ${STATIC_CFLAGS:N-O*} ${CFLAGS:N-O*} | IR_CFLAGS ?= ${STATIC_CFLAGS:N-O*} ${CFLAGS:N-O*} | ||||
PO_CFLAGS ?= ${CFLAGS} | PO_CFLAGS ?= ${CFLAGS} | ||||
# cp(1) is used to copy source files to ${.OBJDIR}, make sure it can handle | # cp(1) is used to copy source files to ${.OBJDIR}, make sure it can handle | ||||
▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines |