[Libreoffice] [UNPUSHED][PATCH] Fix building bridge with -mavx
tchvatal at novell.com
Wed Aug 3 05:16:02 PDT 2011
Dne 3.8.2011 13:27, Caolán McNamara napsal(a):
> On Wed, 2011-08-03 at 12:11 +0100, Caolán McNamara wrote:
>> On Wed, 2011-08-03 at 12:47 +0200, Tomáš Chvátal wrote:
>>> Attaching the updated patch that adds it only where it should really be
>> seems reasonable, pushed.
> *bzzt*, x86_64 gcc 4.3.4 doesn't support it, so breaks the build on
> those buildbots.
> I guess need to instead add a configure check for it, stuff it into an
> env variable if supported, and add that env variable to the makefile.mks
Ok first part is the configure.in check, I think the attachment should
do the trick.
But I am not entirely sure how to do the check in plain GNUMake.
I wrote it with ifdef USE_AVX and I hope this is the way it should work :)
More information about the LibreOffice