ports/182538: devel/djgpp-binutils: Fix build with clang [maint]

Peter Johnson johnson.peter at gmail.com
Tue Oct 1 07:00:00 UTC 2013


>Number:         182538
>Category:       ports
>Synopsis:       devel/djgpp-binutils: Fix build with clang [maint]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 01 07:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Peter Johnson
>Release:        9.2
>Organization:
>Environment:
FreeBSD matrix.home.bilogic.org 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #1 r255597: Sun Sep 15 09:21:30 PDT 2013
>Description:
Same as ports/151874, the djgpp-binutils build fails due to a warning with clang (which generates extra warnings).  Disabling werror fixes the build.
>How-To-Repeat:

>Fix:
Disable werror (see attached patch).


Patch attached with submission follows:

Index: devel/djgpp-binutils/Makefile
===================================================================
--- devel/djgpp-binutils/Makefile	(revision 328919)
+++ devel/djgpp-binutils/Makefile	(working copy)
@@ -28,7 +28,7 @@
 WRKSRC=		${WRKDIR}/build
 CONFIGURE_ARGS=	--target=${TARGET} \
 		--with-gcc --with-gnu-ld --with-gnu-as \
-		--disable-nls --disable-shared
+		--disable-nls --disable-shared --disable-werror
 INFO_PATH=	${TARGET}/info
 
 MAN1=	${TARGET}-addr2line.1 ${TARGET}-ar.1    \


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list