ports/169523: [patch] x11/xscreensaver: remove forced -O0 from CFLAGS on amd64
Sayetsky Anton
vsjcfm at gmail.com
Thu Jun 28 16:00:25 UTC 2012
>Number: 169523
>Category: ports
>Synopsis: [patch] x11/xscreensaver: remove forced -O0 from CFLAGS on amd64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 28 16:00:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Sayetsky Anton
>Release: FreeBSD 8.3-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD j.local 8.3-RELEASE-p1 FreeBSD 8.3-RELEASE-p1 #0 r235504: Wed May 16 14:33:18 EEST 2012 root at j.local:/tmp/obj/mnt/garbage/build/src/sys/JASONW amd64
>Description:
>How-To-Repeat:
Update ports and take a look to x11/xscreensaver/Makefile
You will see there the following:
.if ${ARCH} == "amd64"
CFLAGS+= -O0
.endif
There is no need to add "-O0" to CFLAGS on amd64. I've built xscreensaver successfully with "-O2 -fno-strict-aliasing -pipe -march=core2"
>Fix:
--- patch-Makefile begins here ---
--- Makefile-orig 2012-06-28 18:43:01.000000000 +0300
+++ Makefile 2012-06-28 18:43:08.000000000 +0300
@@ -134,10 +134,6 @@
companioncube.6 hilbert.6 tronbit.6 \
xscreensaver-gl-helper.6
-.if ${ARCH} == "amd64"
-CFLAGS+= -O0
-.endif
-
post-patch:
@ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
@ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
--- patch-Makefile ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list