mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Fix build errors due new gcc 10 default for -fno-common
This commit is contained in:
parent
2f9e0e6fdd
commit
5bac3d64a6
9 changed files with 34 additions and 17 deletions
|
|
@ -22,6 +22,8 @@ AC_CHECK_CC_OPT([-fno-omit-frame-pointer], CFLAGS="$CFLAGS -fno-omit-frame-point
|
|||
AC_CHECK_CC_OPT([-fno-inline-functions-called-once], CFLAGS="$CFLAGS -fno-inline-functions-called-once", [])
|
||||
AC_CHECK_CC_OPT([-fno-inline-small-functions], CFLAGS="$CFLAGS -fno-inline-small-functions", [])
|
||||
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", [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue