Skip to content

Commit 22574b4

Browse files
authored
Suppress -mfma as well for gcc 4.6
1 parent f662022 commit 22574b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile.x86_64

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ CCOMMON_OPT += -mavx2
3232
FCOMMON_OPT += -mavx2
3333
endif
3434
endif
35+
ifndef OLDGCC
3536
ifdef HAVE_FMA3
3637
CCOMMON_OPT += -mfma
3738
FCOMMON_OPT += -mfma
3839
endif
40+
endif
3941

4042
ifeq ($(CORE), SKYLAKEX)
4143
ifndef DYNAMIC_ARCH

0 commit comments

Comments
 (0)