Skip to content

Commit

Permalink
FL-254: We had to unset ARCH. Back up to REAL_ARCH so we can test aga…
Browse files Browse the repository at this point in the history
…inst it later.
  • Loading branch information
danielrobbins committed Dec 5, 2012
1 parent 7a1b08d commit f7ac5e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sys-kernel/debian-sources/debian-sources-3.2.23.ebuild
Expand Up @@ -55,6 +55,7 @@ get_patch_list() {
}

pkg_setup() {
export REAL_ARCH="$ARCH"
unset ARCH; unset LDFLAGS #will interfere with Makefile if set
}

Expand Down Expand Up @@ -84,7 +85,7 @@ src_prepare() {
local opts
use rt && opts="rt" || opts="standard"
local myarch="amd64"
[ "$ARCH" = "x86" ] && myarch="i386" && opts="$opts 686-pae"
[ "$REAL_ARCH" = "x86" ] && myarch="i386" && opts="$opts 686-pae"
cp ${FILESDIR}/config-extract . || die
chmod +x config-extract || die
./config-extract ${myarch} ${opts} || die
Expand Down
3 changes: 2 additions & 1 deletion sys-kernel/debian-sources/debian-sources-3.2.29.ebuild
Expand Up @@ -55,6 +55,7 @@ get_patch_list() {
}

pkg_setup() {
export REAL_ARCH="$ARCH"
unset ARCH; unset LDFLAGS #will interfere with Makefile if set
}

Expand Down Expand Up @@ -84,7 +85,7 @@ src_prepare() {
local opts
use rt && opts="rt" || opts="standard"
local myarch="amd64"
[ "$ARCH" = "x86" ] && myarch="i386" && opts="$opts 686-pae"
[ "$REAL_ARCH" = "x86" ] && myarch="i386" && opts="$opts 686-pae"
cp ${FILESDIR}/config-extract . || die
chmod +x config-extract || die
./config-extract ${myarch} ${opts} || die
Expand Down

0 comments on commit f7ac5e7

Please sign in to comment.