diff --git a/lib/multilib/parse-config b/lib/multilib/parse-config index c7dbb7a..e327baf 100644 --- a/lib/multilib/parse-config +++ b/lib/multilib/parse-config @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: lib/multilib/parse-config -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -36,6 +36,8 @@ multilib_abi_loop() { # alter arch_target if we build 32bit if [ "$abi" = "32" ]; then + # backup arch_target and restore it after compiling + hook_add postmake 9 "arch_target=$arch_target" arch_target="$( echo $arch_target | arch2arch32 )" echo_status "Setting arch_target to $arch_target" fi