diff options
author | joerg <joerg@pkgsrc.org> | 2013-12-08 22:29:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-12-08 22:29:05 +0000 |
commit | 8ba054e568d09f822cd32d2f8f9d541d508b2ad1 (patch) | |
tree | 1787110efb4b9087494d011d95c16af753c64cd4 /cross | |
parent | da0fe7d5f942830d9eaf760470c35d9f6f607ba7 (diff) | |
download | pkgsrc-8ba054e568d09f822cd32d2f8f9d541d508b2ad1.tar.gz |
Ignore some of Clang's default warnings.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/nios2-binutils/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cross/nios2-binutils/Makefile b/cross/nios2-binutils/Makefile index 9dad49bc426..7b3d544da2a 100644 --- a/cross/nios2-binutils/Makefile +++ b/cross/nios2-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2013/12/03 02:34:52 mef Exp $ +# $NetBSD: Makefile,v 1.5 2013/12/08 22:29:05 joerg Exp $ .include "../../cross/nios2/Makefile.common" PKGNAME= nios2-binutils-${PKG_VERSION} PKG_VERSION= 2.23 @@ -21,6 +21,11 @@ CONFIGURE_ARGS+= --disable-nls # install libiberty by architecture CONFIGURE_ARGS+= --libdir=${PREFIX}/${NIOS2_TARGET}/lib +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-string-plus-int -Wno-self-assign +.endif + # To avoid conflict with other cross/native info files, NIOS_INFO_DIR= ${PREFIX}/info/${NIOS2_TARGET} .include "../../mk/bsd.prefs.mk" |