Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 00:01:18 +0100 (CET)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75376: devel/asis: must build without -fno-strict-aliasing
Message-ID:  <20041221230118.3491F2C414@melusine.cuivre.fr.eu.org>
Resent-Message-ID: <200412212310.iBLNAR1r032136@freefall.freebsd.org>

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

>Number:         75376
>Category:       ports
>Synopsis:       devel/asis: must build without -fno-strict-aliasing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 21 23:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Quinot
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD melusine.cuivre.fr.eu.org 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #1: Sat May 22 22:28:16 CEST 2004 thomas@melusine.cuivre.fr.eu.org:/usr2/obj/usr2/src/RELENG_5_2/sys/MELUSINE i386


	
>Description:
	ASIS is build using the GCC that comes from the GNAT port, which is a 2.8.1-based
	compiler that neither supports nor needs -fno-strict-aliasing, which is now
	present in the system default CFLAGS value. To allow this port to build on
	a recent -CURRENT, this CFLAGS setting thus needs to be overridden by the
	port's Makefile.

>How-To-Repeat:
	
>Fix:

Index: devel/asis/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/asis/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- devel/asis/Makefile	6 Dec 2004 00:15:43 -0000	1.15
+++ devel/asis/Makefile	21 Dec 2004 22:57:29 -0000
@@ -25,6 +25,7 @@
 .if ${OSVERSION} >= 500039
 WITHOUT_CPU_CFLAGS=	yes
 .endif
+CFLAGS=		-O2 -pipe
 USE_GMAKE=	yes
 MAKEFILE=	"${FILESDIR}/Makefile.bsd"
 MAKE_ARGS=	GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} \

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



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