-mno-fma is x86_64 only; it hinders aarch64 compilation

This commit is contained in:
volth
2019-05-04 15:31:02 +00:00
parent 5a2356cff1
commit 091de095c9
4 changed files with 6 additions and 4 deletions
@@ -66,7 +66,7 @@ in stdenv.mkDerivation rec {
# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" "-mno-fma" ];
NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ] ++ lib.optional stdenv.isx86_64 "-mno-fma";
patches = [
./xdg-open-brief.patch