Browse Source

multilib: fixed parse-config to backup arch_target and restore it after compiling

user/amery/janus
Christian Wiese 12 years ago
committed by Alejandro Mery
parent
commit
34f3dda868
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      lib/multilib/parse-config

+ 3
- 1
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

Loading…
Cancel
Save