Skip to content

Commit 38cc638

Browse files
authored
Avoid adding blanket march=skylake-avx512 to dynamic_arch builds
1 parent 6ba30e2 commit 38cc638

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
@@ -9,6 +9,7 @@ endif
99
endif
1010

1111
ifeq ($(CORE), SKYLAKEX)
12+
ifndef DYNAMIC_ARCH
1213
ifndef NO_AVX512
1314
CCOMMON_OPT += -march=skylake-avx512
1415
FCOMMON_OPT += -march=skylake-avx512
@@ -22,6 +23,7 @@ endif
2223
endif
2324
endif
2425
endif
26+
endif
2527

2628
ifeq ($(OSNAME), Interix)
2729
ARFLAGS = -m x64

0 commit comments

Comments
 (0)