From 9de6d8b555a5202cbf80753f41efa03032edb02b Mon Sep 17 00:00:00 2001 From: Xavier Hernandez Date: Thu, 31 Jul 2014 11:51:12 +0200 Subject: ec: Add -msse2 option to avoid fedora/rawhide compilation errors This solves a compilation error on some compiler versions. To avoid compilation issues on non-Intel architectures, patch http://review.gluster.org/8366/ has already been merged. It disables ec on those architectures. These modifications are temporary patches until a proper solution for bug #1125166 is ready. Change-Id: I74d0b79e84601cc4f86ad08ce0f8102b99a79a68 BUG: 1125168 Signed-off-by: Xavier Hernandez Reviewed-on: http://review.gluster.org/8395 Reviewed-by: Niels de Vos Tested-by: Gluster Build System --- xlators/cluster/ec/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/ec/src/Makefile.am b/xlators/cluster/ec/src/Makefile.am index e2a9330a944..cf88ae44d8e 100644 --- a/xlators/cluster/ec/src/Makefile.am +++ b/xlators/cluster/ec/src/Makefile.am @@ -38,7 +38,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) AM_CPPFLAGS += -I$(top_srcdir)/libglusterfs/src AM_CPPFLAGS += -I$(top_srcdir)/xlators/lib/src -AM_CFLAGS = -Wall $(GF_CFLAGS) +AM_CFLAGS = -Wall -msse2 $(GF_CFLAGS) CLEANFILES = -- cgit