[Libreoffice] [PATCH] Fix building bridge with -mavx

Tomáš Chvátal tchvatal at novell.com
Wed Aug 3 03:47:29 PDT 2011


Dne 2.8.2011 14:50, Caolán McNamara napsal(a):
> On Tue, 2011-08-02 at 13:18 +0200, Tomas Chvatal wrote:
>> Libreoffice bridge code won't compile on new CPUs which add -mavx to cxxflags with --march=native.
>> As first idea for the fix is actual ban for the -mavx cxxflag by adding -nomavx.
> Isn't that a x86 (and x86_64 ?) only option, i.e. no need for it except
> in the _intel and _x86_64 bridges ?
>
> C.
>
Yeah you are right, it is only for 64b or intel. I just threw it in with 
sed :)

Attaching the updated patch that adds it only where it should really be 
needed.

Tom


More information about the LibreOffice mailing list