Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 06:53:10 GMT
From:      Peter Johnson <johnson.peter@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182538: devel/djgpp-binutils: Fix build with clang [maint]
Message-ID:  <201310010653.r916rAWa066267@oldred.freebsd.org>
Resent-Message-ID: <201310010700.r91700Jm040891@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310010653.r916rAWa066267>