Skip to content

Commit

Permalink
glm: -no-strict-aliasing due to upstream bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhjr committed Mar 26, 2022
1 parent c24ffe3 commit 9464bf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/glm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102823
NIX_CFLAGS_COMPILE = "-fno-ipa-modref";

cmakeFlags = [
"-DBUILD_SHARED_LIBS=OFF"
"-DBUILD_STATIC_LIBS=OFF"
Expand Down

0 comments on commit 9464bf0

Please sign in to comment.