diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2017-07-25 10:41:34 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2017-07-25 10:41:34 +0000 |
| commit | cd7b1e3a757d415aabf74d38d062c516c3d6cb26 (patch) | |
| tree | 828c1a34329e4ba6bde77dadf6cbb691b888d0c8 /share | |
| parent | 4f969e10d1014d8cb75af8ae142096ef94b62dfe (diff) | |
Notes
Diffstat (limited to 'share')
| -rw-r--r-- | share/mk/bsd.stand.mk | 3 |
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 |
