diff options
author | joerg <joerg@pkgsrc.org> | 2015-04-18 20:40:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-04-18 20:40:46 +0000 |
commit | 3197e479abeb07220e0de51138935ef08c7b1de1 (patch) | |
tree | cafa2f5aeb7c525f388f119e48b4b636aac1ccbe /devel/rsltc | |
parent | 73da43eda128c0fa65407cc9f2e99853ff587c11 (diff) | |
download | pkgsrc-3197e479abeb07220e0de51138935ef08c7b1de1.tar.gz |
Let clang ignore the mixed up return use of the K&R code.
Diffstat (limited to 'devel/rsltc')
-rw-r--r-- | devel/rsltc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/rsltc/Makefile b/devel/rsltc/Makefile index e01b5592fa8..f72a0fa7925 100644 --- a/devel/rsltc/Makefile +++ b/devel/rsltc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2013/02/17 19:18:00 dholland Exp $ +# $NetBSD: Makefile,v 1.16 2015/04/18 20:40:46 joerg Exp $ # DISTNAME= rsltcsrc @@ -23,6 +23,11 @@ MAKE_FLAGS+= LEX=${LEX} MAKE_JOBS_SAFE= no +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-return-type +.endif + post-extract: ${CP} ${FILESDIR}/path.el ${WRKSRC} |