diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/glm')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/glm/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/libraries/glm/default.nix b/nixpkgs/pkgs/development/libraries/glm/default.nix index d4c836b6912e..8af09dcd6f6e 100644 --- a/nixpkgs/pkgs/development/libraries/glm/default.nix +++ b/nixpkgs/pkgs/development/libraries/glm/default.nix @@ -28,10 +28,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - NIX_CFLAGS_COMPILE = - lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ - "-fno-ipa-modref" # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102823 - ]; + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102823 + env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") "-fno-ipa-modref"; cmakeFlags = [ "-DBUILD_SHARED_LIBS=OFF" |