-mno-fma is x86_64 only; it hinders aarch64 compilation
This commit is contained in:
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-mno-fma" ]; # do not let -march=skylake to enable FMA (https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html)
|
||||
# do not let -march=skylake to enable FMA (https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html)
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.isx86_64 "-mno-fma";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
|
||||
Reference in New Issue
Block a user