diff options
author | joerg <joerg@pkgsrc.org> | 2012-12-20 21:46:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-12-20 21:46:16 +0000 |
commit | 0da50950f69cc944145128189c65c0d346cdd439 (patch) | |
tree | 587fd67da1ed6fb54802eaa59400a0f293ff9fce /misc | |
parent | 42c07e9147f929f9da3065b66dc5809dbdbee2ff (diff) | |
download | pkgsrc-0da50950f69cc944145128189c65c0d346cdd439.tar.gz |
Stop clang from caring about return usage, this is way too messy to fix up.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fep/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/fep/Makefile b/misc/fep/Makefile index 9152c516888..eef2f8c73d1 100644 --- a/misc/fep/Makefile +++ b/misc/fep/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2012/10/08 09:57:21 asau Exp $ +# $NetBSD: Makefile,v 1.23 2012/12/20 21:46:16 joerg Exp $ DISTNAME= fep PKGNAME= fep-1.0 @@ -18,6 +18,12 @@ WRKSRC= ${WRKDIR} MANCOMPRESSED= yes INSTALLATION_DIRS+= bin man/man1 +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-error=return-type +.endif + pre-build: cd ${WRKSRC} && \ for i in *.[ch]; do ${SED} "s,#endif lint,#endif /* lint */,g" $${i} > $${i}.new && \ |