summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-24 06:14:31 +0000
committerru <ru@FreeBSD.org>2006-03-24 06:14:31 +0000
commitb152fc672a71bdba07408acb35d80ab7d878548a (patch)
tree0b5b9abe4dba1c1ad9ce1258640735ea097f857b
parent6d9b77bdc9d728b041508ab8e234289f080065cd (diff)
downloadFreeBSD-src-b152fc672a71bdba07408acb35d80ab7d878548a.zip
FreeBSD-src-b152fc672a71bdba07408acb35d80ab7d878548a.tar.gz
Option MK_LIB32 only exists on amd64.
-rw-r--r--share/mk/bsd.own.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index cb14676..3f171a36 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -178,6 +178,10 @@ COMPRESS_EXT?= .gz
# The NO_* variables should only be set by makefiles.
#
+.if ${MACHINE_ARCH} == "amd64"
+_LIB32= LIB32
+.endif
+
#
# Supported NO_* options (if defined, MK_* will be forced to "no",
# regardless of user's setting).
@@ -232,7 +236,7 @@ WITHOUT_${var}=
IPFILTER \
IPX \
KERBEROS \
- LIB32 \
+ ${_LIB32} \
LIBC_R \
LIBPTHREAD \
LIBTHR \
@@ -318,7 +322,7 @@ WITH_IDEA=
IPFILTER \
IPX \
KERBEROS \
- LIB32 \
+ ${_LIB32} \
LIBC_R \
LIBPTHREAD \
LIBTHR \
OpenPOWER on IntegriCloud