Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/gh-bc/Makefile
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
MAN_SRC_BC= bc/N.1 | MAN_SRC_BC= bc/N.1 | ||||
MAN_SRC_DC= dc/N.1 | MAN_SRC_DC= dc/N.1 | ||||
.else | .else | ||||
CFLAGS+= -DBC_ENABLE_NLS=1 | CFLAGS+= -DBC_ENABLE_NLS=1 | ||||
MAN_SRC_BC= bc/A.1 | MAN_SRC_BC= bc/A.1 | ||||
MAN_SRC_DC= dc/A.1 | MAN_SRC_DC= dc/A.1 | ||||
# prevent floating point incompatibilities caused by -flto on some architectures | # prevent floating point incompatibilities caused by -flto on some architectures | ||||
# | |||||
# External GCC disables LTO on aarch64 | |||||
.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \ | .if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \ | ||||
${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64 | ${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64 && \ | ||||
!(${COMPILER_TYPE} == "gcc" && ${MACHINE_ARCH} == "aarch64") | |||||
CFLAGS+= -flto | CFLAGS+= -flto | ||||
.endif | .endif | ||||
.for catalog in ${CATALOGS} | .for catalog in ${CATALOGS} | ||||
NLS+= ${catalog:C/.*://} | NLS+= ${catalog:C/.*://} | ||||
NLSSRCFILES_${catalog:C/.*://}= ${catalog:C/.*://}.msg | NLSSRCFILES_${catalog:C/.*://}= ${catalog:C/.*://}.msg | ||||
.endfor | .endfor | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |