diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index 4ea327aa1f..a24cf402c1 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -61,11 +61,7 @@ do_configure() { mkdir build cd build - if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then - _libdir=/usr/lib32 - else - _libdir=/usr/lib - fi + local _libdir=/usr/lib${XBPS_TARGET_WORDSIZE} echo "slibdir=${_libdir}" > configparms echo "bindir=/usr/bin" >> configparms