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 | 69d03c9a9037e41b28d4a03ffd63097f2451dc04 (patch) | |
tree | 587fd67da1ed6fb54802eaa59400a0f293ff9fce | |
parent | 7c36ba63a4397f9b51f982ad0f22ea6cd9d04c02 (diff) | |
download | pkgsrc-69d03c9a9037e41b28d4a03ffd63097f2451dc04.tar.gz |
Stop clang from caring about return usage, this is way too messy to fix up.
-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 && \ |