aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-02-09 16:37:17 +0000
committerEd Maste <emaste@FreeBSD.org>2014-02-09 16:37:17 +0000
commit2cd0384cafda88c9b432964d18461b4c8787f8a8 (patch)
treef652def44ac31bf208b6a8eefa78b949e83817fc
parentb2478843a943a6d248802299b430aa623bf3ea9b (diff)
downloadsrc-2cd0384cafda88c9b432964d18461b4c8787f8a8.tar.gz
src-2cd0384cafda88c9b432964d18461b4c8787f8a8.zip
Build libstand as a 64-bit library on ppc64
The 32-bit bootloaders now link against libstand.a in sys/boot/libstand32, so there is no need to force /usr/lib/libstand.a to be 32-bit. This is equivalent to r261568 for amd64. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=261668
-rw-r--r--lib/libstand/Makefile3
-rw-r--r--lib/libstand/libstand.34
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 597dcc131124..359fa4af430d 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -35,9 +35,6 @@ CFLAGS+= -Os
.if ${MACHINE_CPUARCH} == "powerpc"
CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG
.endif
-.if ${MACHINE_ARCH} == "powerpc64"
-CFLAGS+= -m32 -I.
-.endif
.if ${MACHINE_CPUARCH} == "arm"
CFLAGS+= -msoft-float -D_STANDALONE
.endif
diff --git a/lib/libstand/libstand.3 b/lib/libstand/libstand.3
index d808be717c70..2938e2d90cb1 100644
--- a/lib/libstand/libstand.3
+++ b/lib/libstand/libstand.3
@@ -674,7 +674,3 @@ the environment functions and this manpage were written by
.An Mike Smith Aq msmith@FreeBSD.org .
.Sh BUGS
The lack of detailed memory usage data is unhelpful.
-.Pp
-On the powerpc64 architecture
-.Nm
-is a 32-bit library.