ports/117445: restore gcc optimization of x11-servers/xorg-server in RELENG_7

Ildar dar.quonb at gmai.com
Wed Oct 24 09:20:10 UTC 2007


>Number:         117445
>Category:       ports
>Synopsis:       restore gcc optimization of x11-servers/xorg-server in RELENG_7
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 24 09:20:09 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ildar
>Release:        7.0-BETA1
>Organization:
>Environment:
FreeBSD <...> 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Tue Oct 23 14:58:02 MSD 2007     root@<...>:/usr/obj/usr/src/sys/DARKERNEL  amd64
>Description:
Since updating gcc to version 4.2.1 problems with compiling with optimization is solved.
So it is safe now to enable optimization when building x11-servers/xorg-server 
>How-To-Repeat:
Just build the port
>Fix:
Apply patch in port directory

Patch attached with submission follows:

--- Makefile	Wed Oct 24 13:11:11 2007
+++ Makefile	Wed Oct 24 13:11:16 2007
@@ -101,7 +101,7 @@
 PLIST_SUB+=	AMD64_I386="@comment "
 .endif
 
-.if ${OSVERSION} > 700042
+.if ${OSVERSION} > 700042 && ${OSVERSION} < 700053
 CFLAGS+=	-O0
 .endif
 


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



More information about the freebsd-ports-bugs mailing list