Changeset View
Changeset View
Standalone View
Standalone View
head/sys/conf/kern.mk
Show First 20 Lines • Show All 238 Lines • ▼ Show 20 Lines | |||||
CFLAGS+= -std=iso9899:1990 | CFLAGS+= -std=iso9899:1990 | ||||
.elif ${CSTD} == "c94" || ${CSTD} == "c95" | .elif ${CSTD} == "c94" || ${CSTD} == "c95" | ||||
CFLAGS+= -std=iso9899:199409 | CFLAGS+= -std=iso9899:199409 | ||||
.elif ${CSTD} == "c99" | .elif ${CSTD} == "c99" | ||||
CFLAGS+= -std=iso9899:1999 | CFLAGS+= -std=iso9899:1999 | ||||
.else # CSTD | .else # CSTD | ||||
CFLAGS+= -std=${CSTD} | CFLAGS+= -std=${CSTD} | ||||
.endif # CSTD | .endif # CSTD | ||||
# Set target-specific linker emulation name. Used by ld -b binary to convert | |||||
# binary files into ELF objects. | |||||
LD_EMULATION_aarch64=aarch64elf | |||||
LD_EMULATION_amd64=elf_x86_64_fbsd | |||||
LD_EMULATION_arm=armelf_fbsd | |||||
LD_EMULATION_armeb=armelf_fbsd | |||||
LD_EMULATION_armv6=armelf_fbsd | |||||
LD_EMULATION_i386=elf_i386_fbsd | |||||
LD_EMULATION_mips= elf32btsmip_fbsd | |||||
LD_EMULATION_mips64= elf64btsmip_fbsd | |||||
LD_EMULATION_mipsel= elf32ltsmip_fbsd | |||||
LD_EMULATION_mips64el= elf64ltsmip_fbsd | |||||
LD_EMULATION_mipsn32= elf32btsmipn32_fbsd | |||||
LD_EMULATION_mipsn32el= elf32btsmipn32_fbsd # I don't think this is a thing that works | |||||
LD_EMULATION_powerpc= elf32ppc_fbsd | |||||
LD_EMULATION_powerpc64= elf64ppc_fbsd | |||||
LD_EMULATION_riscv= elf64riscv | |||||
LD_EMULATION_sparc64= elf64_sparc_fbsd | |||||
LD_EMULATION=${LD_EMULATION_${MACHINE_ARCH}} |