Remove the default -march=native

This commit is contained in:
Andrea Mazzoleni 2020-05-26 12:48:56 +02:00
parent d6ef86ce65
commit 666937f0b4
2 changed files with 5 additions and 4 deletions

View file

@ -1,8 +1,12 @@
SnapRAID HISTORY
================
11.5 2020/05
============
* Removed the default -march=native to allow to deploy in any machines.
11.4 2020/05
=============================
============
* Fix build errors due new gcc 10 default for -fno-common.
* In fixing, if a parity is filtered out, don't attempt to recover its size,
and proceed without it if missing.

View file

@ -25,9 +25,6 @@ AC_CHECK_CC_OPT([-rdynamic], CFLAGS="$CFLAGS -rdynamic", [])
# This the new default for gcc 10
AC_CHECK_CC_OPT([-fno-common], CFLAGS="$CFLAGS -fno-common", [])
dnl Options to improve the performance
AC_CHECK_CC_OPT([-march=native], CFLAGS="$CFLAGS -march=native", [])
dnl Checks for system.
AC_SYS_LARGEFILE