Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133856 | Differences between
and this patch

Collapse All | Expand All

(-)configure (-2 / +7 lines)
Lines 129-136 Link Here
129
#
129
#
130
# 0. Figure out architecture (one of i386, alpha, sparc, arm, m68k, mips)
130
# 0. Figure out architecture (one of i386, alpha, sparc, arm, m68k, mips)
131
#
131
#
132
ARCH=`uname -m | sed s/i.86/i386/`
132
HOST_ARCH=`uname -m`
133
echo "ARCH=$ARCH" >> make_include
133
TARGET_ARCH=`$CC -dumpmachine | awk -F- '{print $1}'`
134
# Don't allow ARCH="sparc" for sparc64 targets with 32-bit userland
135
if (test "$HOST_ARCH" = "sparc64" && test "$TARGET_ARCH" = "sparc") ; then
136
	TARGET_ARCH="sparc64"
137
fi
138
echo "ARCH=${TARGET_ARCH/i?86/i386}" >> make_include
134
139
135
#
140
#
136
# 1. Do we have <locale.h>?
141
# 1. Do we have <locale.h>?

Return to bug 133856