From 34f3dda8684b6a2cd542946ebb45888db1de08da Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 14 Sep 2011 08:05:25 +0200 Subject: [PATCH] multilib: fixed parse-config to backup arch_target and restore it after compiling --- lib/multilib/parse-config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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