Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 15:47:25 GMT
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181504: [ports/devel/liboil] Fix build error by CC=clang
Message-ID:  <201308241547.r7OFlPxV001604@oldred.freebsd.org>
Resent-Message-ID: <201308241550.r7OFo0FM011428@freefall.freebsd.org>

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

>Number:         181504
>Category:       ports
>Synopsis:       [ports/devel/liboil] Fix build error by CC=clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 24 15:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Norikatsu Shigemura
>Release:        FreeBSD/amd64 on 10-current
>Organization:
Personal
>Environment:
FreeBSD pelsia.ninth-nine.com 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r254715M: Sat Aug 24 10:27:09 JST 2013     nork@pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA  amd64
>Description:
liboil's Makefile defined USE_GCC=any, so not use clang.
But there is clang test code, so no longer use.
>How-To-Repeat:
$ cd /usr/ports/devel/liboil
$ env CC=clang make

>Fix:
Please apply my patch.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 325271)
+++ Makefile	(working copy)
@@ -25,10 +25,6 @@
 		--disable-glib
 CFLAGS:=	${CFLAGS:N-O*} -O2
 
-.if ${CC:T:M*clang*}
-CFLAGS+=	-fheinous-gnu-extensions
-.endif
-
 .include <bsd.port.pre.mk>
 
 post-patch:


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



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