xbps-src::tmpl_funcs: add two comments for BUILD_32BIT.
This commit is contained in:
parent
6d6a66fe1d
commit
f85dba88f3
|
@ -274,8 +274,10 @@ set_tmpl_common_vars()
|
|||
LDLIBPATH="$XBPS_MASTERDIR/usr/lib"
|
||||
fi
|
||||
if [ -n "$BUILD_32BIT" ]; then
|
||||
# Force gcc multilib to emit 32bit binaries.
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
# Export default 32bit directories.
|
||||
LDLIBPATH="$LDLIBPATH:/lib32:/usr/lib32"
|
||||
LDFLAGS="-L/lib32 -L/usr/lib32"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue