|
|
@ -69,6 +69,16 @@ pkg_glibc_abi_preconf() { |
|
|
|
slibdir="lib$1" |
|
|
|
echo_status "slibdir: $slibdir" |
|
|
|
|
|
|
|
# architecture specific compiler flags for 32bit ABIs |
|
|
|
if [ "$1" = "32" ]; then |
|
|
|
case "$arch" in |
|
|
|
x86-64) |
|
|
|
var_append CC_WRAPPER_INSERT ' ' "-march=$(echo $arch_target | cut -d- -f1)" |
|
|
|
var_append CXX_WRAPPER_INSERT ' ' "-march=$(echo $arch_target | cut -d- -f1)" |
|
|
|
;; |
|
|
|
esac |
|
|
|
fi |
|
|
|
|
|
|
|
# applies to all additional ABIs while building multilib |
|
|
|
if [ $buildloop -ge 2 ]; then |
|
|
|
# only install libraries and no programs |
|
|
|