Skip to content

Commit a7baea4

Browse files
committed
even BETTER C++ compiler flags for all OSs -- related to #241 and #246
1 parent 0dda01d commit a7baea4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Makevars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
CXX_STD = CXX11
88

99
## enable CPU speedups
10-
PKG_CXXFLAGS += -O3 -march=native
11-
PKG_CXX11FLAGS += -O3 -march=native
10+
PKG_CXXFLAGS += -O3 -march=native -mfma
11+
PKG_CXX11FLAGS += -O3 -march=native -mfma

src/Makevars.win

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
CXX_STD = CXX11
88

99
## enable CPU speedups
10-
PKG_CXXFLAGS += -O3 -mtune=native
11-
PKG_CXX11FLAGS += -O3 -mtune=native
10+
PKG_CXXFLAGS += -O3 -mtune=native -mfma
11+
PKG_CXX11FLAGS += -O3 -mtune=native -mfma

0 commit comments

Comments
 (0)