3
0
Fork 0
forked from mirrors/nixpkgs

opencascade-6.5: work around a build problem

This commit is contained in:
Vladimír Čunát 2015-05-30 19:16:38 +02:00
parent baede3f667
commit 5d8981ee4d

View file

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
# -fpermissive helps building opencascade, although gcc detects a flaw in the code
# and reports an error otherwise. Further versions may fix that.
NIX_CFLAGS_COMPILE = "-fpermissive"
# https://bugzilla.redhat.com/show_bug.cgi?id=902561
+ " -DUSE_INTERP_RESULT"
# https://bugs.freedesktop.org/show_bug.cgi?id=83631
+ " -DGLX_GLXEXT_LEGACY";