pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/elftoolchain



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Mar  6 11:33:34 UTC 2020

Modified Files:
        pkgsrc/devel/elftoolchain: Makefile

Log Message:
elftoolchain: Strip Werror the lazy way.

we can't assume that newer compilers won't add new warnings, and indeed
this package fails with gcc7+ currently.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/elftoolchain/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/elftoolchain/Makefile
diff -u pkgsrc/devel/elftoolchain/Makefile:1.15 pkgsrc/devel/elftoolchain/Makefile:1.16
--- pkgsrc/devel/elftoolchain/Makefile:1.15     Sat Jan 18 23:30:27 2020
+++ pkgsrc/devel/elftoolchain/Makefile  Fri Mar  6 11:33:34 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/01/18 23:30:27 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2020/03/06 11:33:34 nia Exp $
 
 DISTNAME=      elftoolchain-0.7.1
 CATEGORIES=    devel
@@ -21,19 +21,6 @@ USE_TOOLS+=          m4 lex
 MAKE_ENV+=             ${BSD_MAKE_ENV}
 MAKE_FLAGS+=           MKPROFILE=yes
 MAKE_FLAGS+=           INCSDIR=${PREFIX}/include
-
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mgcc)
-CWARNFLAGS+=           -Wno-error=sign-conversion \
-                       -Wno-error=conversion \
-                       -Wno-error=unused-but-set-variable \
-                       -Wno-error=old-style-definition \
-                       -Wno-error=shift-negative-value
-.elif !empty(PKGSRC_COMPILER:Mclang)
-CWARNFLAGS+=           -Wno-error=missing-noreturn \
-                       -Wno-error=constant-logical-operand \
-                       -Wno-error=conversion -Wno-error=cast-qual
-.endif
 MAKE_FLAGS+=           CWARNFLAGS=${CWARNFLAGS:Q}
 
 INSTALLATION_DIRS=     bin include lib
@@ -41,4 +28,6 @@ INSTALLATION_DIRS+=   ${PKGMANDIR}/man1 ${
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man3 ${PKGMANDIR}/cat3 ${PKGMANDIR}/html3
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man5 ${PKGMANDIR}/cat5 ${PKGMANDIR}/html5
 
+BUILDLINK_TRANSFORM+=  rm:-Werror
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index