glm: fix eval

See https://github.com/NixOS/nixpkgs/pull/217206
This commit is contained in:
Atemu 2023-02-23 17:46:41 +01:00
parent aff767f7ea
commit 7b01e4929f

View file

@ -28,10 +28,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
env.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"