[Mesa-dev] [PATCH] configure: use $target_cpu, not $host_cpu when setting asm_arch

Emil Velikov emil.l.velikov at gmail.com
Wed Jun 24 06:16:58 PDT 2015

On 24 June 2015 at 10:28, Marek Olšák <maraeo at gmail.com> wrote:
> Hi,
> This is how I build 32-bit Mesa:
> # Mandatory for 32-bit
> dir=i386-linux-gnu
> build=i686-linux-gnu
> export CFLAGS="-m32 -O2 -g"
> export LDFLAGS="-L/usr/lib/$dir"
On Arch/Gentoo (and maybe others) don't need the LDFLAGS, but I'd
suspect it's essential for Debian based distros. If any anyone has
some tips that might be I'll appreciate the input :-)


More information about the mesa-dev mailing list