gsl: remove disable-fma.patch

`NIX_CFLAGS_COMPILE = [ "-mno-fma" ];` disables FMA in a more reliable way.

`platform.gcc.arch = "skylake"` resulting in gcc command line flag -march=skylake was able to enable FMA even with disable-fma.patch applied
This commit is contained in:
volth
2019-04-30 14:39:18 +00:00
parent 5ad79dc4bb
commit 3d3f83dc51
3 changed files with 0 additions and 39 deletions
@@ -10,11 +10,6 @@ stdenv.mkDerivation rec {
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)
patches = [
# ToDo: there might be more impurities than FMA support check
./disable-fma.patch # https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html
];
# https://lists.gnu.org/archive/html/bug-gsl/2015-11/msg00012.html
doCheck = stdenv.hostPlatform.system != "i686-linux" && stdenv.hostPlatform.system != "aarch64-linux";