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

Michel Dänzer michel at daenzer.net
Wed Jun 24 19:43:37 PDT 2015


On 24.06.2015 22:16, Emil Velikov wrote:
> On 24 June 2015 at 10:28, Marek Olšák <maraeo at gmail.com> wrote:
>>
>> 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 CXXFLAGS="$CFLAGS"
>> 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.

I don't need to set LDFLAGS on Debian.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list