From b21c19ffb3507f9fa2544cad48ec1adef5c271de Mon Sep 17 00:00:00 2001 From: Ivo Raisr Date: Fri, 23 Sep 2016 14:10:55 +0000 Subject: [PATCH] Use proper compiler flags on Solaris for fma4 test. n-i-bz git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15978 --- none/tests/amd64/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/none/tests/amd64/Makefile.am b/none/tests/amd64/Makefile.am index aa9d65e0c9..710911140c 100644 --- a/none/tests/amd64/Makefile.am +++ b/none/tests/amd64/Makefile.am @@ -190,6 +190,9 @@ insn_fpu_LDADD = -lm insn_pclmulqdq_SOURCES = insn_pclmulqdq.def fxtract_LDADD = -lm fma4_CFLAGS = $(AM_CFKAGS) -std=c99 +if VGCONF_OS_IS_SOLARIS +fma4_CFLAGS += -D__EXTENSIONS__ +endif fma4_LDADD = -lm .def.c: $(srcdir)/gen_insn_test.pl -- 2.47.2