diff options
| -rw-r--r-- | graphics/xv/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 1ada7d3aad68..dcc646e89fd5 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -65,4 +65,11 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/docs/gif* ${DOCSDIR} .endif + +.if defined(CC) && ${CC} == "clang" +# Optimizer crashes with +# Assertion failed: (isPtrIV == IndVar->getType()->isPointerTy() && "IndVar type must match IVInit type") +CFLAGS:= ${CFLAGS:S/-O2//g} +.endif + .include <bsd.port.mk> |
