Date: Fri, 16 Aug 2002 08:20:03 -0700 (PDT) From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/41710: [port] lame update (fix CFLAGS) Message-ID: <200208161520.g7GFK3Cq017168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/41710; it has been noted by GNATS. From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/41710: [port] lame update (fix CFLAGS) Date: Fri, 16 Aug 2002 11:19:57 -0300 What about making patch optional? I mean, if the user adds WITH_OPTIMIZED_CFLAGS, this patch is not applied. Otherwise, it is applied per default. Check audio/liba52/Makefile for an example. > Fix CFLAGS > Christian Weisgerber(naddy@mips.inka.de) sugget me. > > diff -ruN lame.orig/files/patch-configure lame/files/patch-configure > --- lame.orig/files/patch-configure Thu Jan 1 09:00:00 1970 > +++ lame/files/patch-configure Thu Aug 15 23:59:51 2002 > @@ -0,0 +1,16 @@ > +diff -ruN lame-3.91.orig/configure lame-3.91/configure > +--- configure.orig Wed Dec 26 02:59:42 2001 > ++++ configure Thu Aug 15 23:54:44 2002 > +@@ -5521,12 +5521,6 @@ > + > + > + if test "x$GCC" = "xyes"; then > +- # gcc defaults. OS specific options go in versious sections below > +- # from the gcc man pages: "there is no reason to use -pedantic" > +- CFLAGS="-Wall -pipe ${CFLAGS}" > +- > +- > +- OPTIMIZATION="-O3 -fomit-frame-pointer -ffast-math -funroll-loops" > + case "${GCC_version}" in > + 2.96*) > + # for buggy version of gcc shipped with RH7.1, back of on some -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature 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?200208161520.g7GFK3Cq017168>