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
@@ -11,8 +11,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
(fetchpatch {
name = "bug-39055.patch";
url = "https://git.savannah.gnu.org/cgit/gsl.git/patch/?id=9cc12d";