diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-21 19:27:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-21 19:27:23 +0000 |
commit | 6265595a601028e8f3d6618b88a654c63eaa4e93 (patch) | |
tree | 69c19228668cd4ee4d350dc0d544e107a1eef7e3 /misc/molden | |
parent | cf341841b3d39d74fd1b1ae459611a6dec0b9155 (diff) | |
download | pkgsrc-6265595a601028e8f3d6618b88a654c63eaa4e93.tar.gz |
Don't care about using plain return in K&R function for clang.
Diffstat (limited to 'misc/molden')
-rw-r--r-- | misc/molden/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/molden/Makefile b/misc/molden/Makefile index 04c9922ef9b..37076c8c14f 100644 --- a/misc/molden/Makefile +++ b/misc/molden/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2014/10/09 14:06:42 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2015/03/21 19:27:23 joerg Exp $ DISTNAME= molden4.6 PKGNAME= ${DISTNAME:S/molden/&-/} @@ -34,5 +34,10 @@ do-install: done ; \ done +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-return-type +.endif + .include "../../graphics/MesaLib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |