aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2017-07-25 10:41:34 +0000
committerAndrew Turner <andrew@FreeBSD.org>2017-07-25 10:41:34 +0000
commitcd7b1e3a757d415aabf74d38d062c516c3d6cb26 (patch)
tree828c1a34329e4ba6bde77dadf6cbb691b888d0c8 /share
parent4f969e10d1014d8cb75af8ae142096ef94b62dfe (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.stand.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/bsd.stand.mk b/share/mk/bsd.stand.mk
index 43dd8ce55901..838a3ca7c45f 100644
--- a/share/mk/bsd.stand.mk
+++ b/share/mk/bsd.stand.mk
@@ -21,6 +21,9 @@ CFLAGS+= -fPIC -mno-red-zone
.if ${MACHINE_CPUARCH} == "aarch64"
CFLAGS+= -fPIC -mgeneral-regs-only
.endif
+.if ${MACHINE_CPUARCH} == "arm"
+CFLAGS+= -fPIC
+.endif
.if ${MACHINE_CPUARCH} == "mips"
CFLAGS+= -G0 -fno-pic -mno-abicalls
.endif