Skip to content

Commit

Permalink
Merge pull request #295 from UB-Quantic/master
Browse files Browse the repository at this point in the history
Fix optimization flag on Power arch
  • Loading branch information
95-martin-orion authored Jul 24, 2020
2 parents 8a88011 + 86e14c2 commit ebe3666
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ AC_LANG(C++)
AC_PROG_CXX

# Default CXXFLAGS.
CXXFLAGS="-O3 -std=c++17 -march=native -Wall -Wpedantic -Wno-unused-command-line-argument "$CXXFLAGS
CXXFLAGS="-O3 -std=c++17 -Wall -Wpedantic -Wno-unused-command-line-argument "$CXXFLAGS
if test $(uname -m) == "ppc64le" || test $(uname -m) == "ppc64"; then
CXXFLAGS="-mcpu=native "$CXXFLAGS
else
CXXFLAGS="-march=native "$CXXFLAGS
fi

# Default LIBS
LIBS="-lpthread "$LIBS
Expand Down

0 comments on commit ebe3666

Please sign in to comment.