diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-11-06 15:22:24 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-11-06 15:22:24 +0000 |
commit | 63c69e1beba1cb7cd161e511b04d47a875a9a3b8 (patch) | |
tree | 5f7701575cad75e81b9076a92b2dd0e83471774e /sys/boot/ficl.mk | |
parent | 9b19f65c83aa290548baeef1f60ff011bd54f28f (diff) | |
download | src-test-63c69e1beba1cb7cd161e511b04d47a875a9a3b8.tar.gz src-test-63c69e1beba1cb7cd161e511b04d47a875a9a3b8.zip |
Centralize all 32-bit builds on 64-bit platform stuff.
Move the addition of the -m32 and other flags to defs.mk. Remove
redunant copies of -m32 that come from multiple locations.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=325485
Diffstat (limited to 'sys/boot/ficl.mk')
-rw-r--r-- | sys/boot/ficl.mk | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/boot/ficl.mk b/sys/boot/ficl.mk index b6ac8d9096b04..a0a13206b495a 100644 --- a/sys/boot/ficl.mk +++ b/sys/boot/ficl.mk @@ -14,17 +14,9 @@ FICL_CPUARCH= ${MACHINE_CPUARCH} .PATH: ${FICLSRC} ${FICLSRC}/${FICL_CPUARCH} -.if ${MACHINE_CPUARCH} == "amd64" -.if ${DO32:U0} == 1 -CFLAGS+= -m32 -I. -.else +.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 0 CFLAGS+= -fPIC .endif -.endif - -.if ${MACHINE_ARCH} == "powerpc64" -CFLAGS+= -m32 -mcpu=powerpc -I. -.endif CFLAGS+= -I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC} CFLAGS+= -DBOOT_FORTH |