On 09/23/2016 01:20 PM, Alex McMurchy wrote:
I've now amended solenv/gbuild/platform/unxgcc.mk in my tree to include the flags -mfpmath and -msse2. Not sure whether this was the most appropriate place for the flags.
Should we want to force those flags for 32-bit x68 Linux (and thus drop support for x86 processors not supporting SSE2), my proposed patch would be:
diff --git a/solenv/gbuild/platform/LINUX_INTEL_GCC.mk b/solenv/gbuild/platform/LINUX_INTEL_GCC.mk index 146e95c..7a73e72 100644 --- a/solenv/gbuild/platform/LINUX_INTEL_GCC.mk +++ b/solenv/gbuild/platform/LINUX_INTEL_GCC.mk @@ -13,4 +13,7 @@ gb_COMPILEROPTFLAGS := -Os include $(GBUILDDIR)/platform/linux.mk +gb_LinkTarget_CFLAGS += -mfpmath=sse -msse2 +gb_LinkTarget_CXXFLAGS += -mfpmath=sse -msse2 + # vim: set noet sw=4:
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice