diff --git a/share/mk/bsd.stand.mk b/share/mk/bsd.stand.mk index c4d30874733a..b18fd35e78de 100644 --- a/share/mk/bsd.stand.mk +++ b/share/mk/bsd.stand.mk @@ -19,7 +19,7 @@ CFLAGS.gcc+= -mpreferred-stack-boundary=2 CFLAGS+= -fPIC -mno-red-zone .endif .if ${MACHINE_CPUARCH} == "aarch64" -CFLAGS+= -mgeneral-regs-only +CFLAGS+= -fPIC -mgeneral-regs-only .endif .if ${MACHINE_CPUARCH} == "mips" CFLAGS+= -G0 -fno-pic -mno-abicalls