diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index cb14676279b6..3f171a367d3c 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 \