Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2002 13:36:32 -0600 (CST)
From:      Conrad Sabatier <conrads@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45688: ogle: configure adds unwanted -march, -mcpu flags on i386
Message-ID:  <200211241936.gAOJaWsk029162@ip68-14-62-49.no.no.cox.net>

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

>Number:         45688
>Category:       ports
>Synopsis:       ogle: configure adds unwanted -march, -mcpu flags on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 24 11:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Conrad Sabatier
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
None
>Environment:
System: FreeBSD ip68-14-62-49.no.no.cox.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Nov 24 05:24:23 CST 2002 conrads@ip68-14-62-49.no.no.cox.net:/usr/obj/usr/src/sys/MYKERNEL i386


>Description:
	configure script in graphics/ogle unconditionally adds
	-march=i586 -mcpu=pentiumpro on i386 arch
>How-To-Repeat:
	cd /usr/ports/graphics/ogle; make
>Fix:
	Add the following patch:

--- configure.orig      Sun Nov 24 13:20:46 2002
+++ configure   Sun Nov 24 13:21:17 2002
@@ -13593,7 +13593,7 @@
 i?86)
        if test "x$GCC" = xyes; then
          CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops"
-         XCFLAGS="$CFLAGS -march=i586 -mcpu=pentiumpro"
+         XCFLAGS="$CFLAGS"
        fi
        USE_MMX=yes
        ;;
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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