Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 15:30:24 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/93879: [PATCH] FIXED systemc installation problem and cleaned up Makefile
Message-ID:  <200603241530.k2OFUOrv095206@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/93879; it has been noted by GNATS.

From: Thierry Thomas <thierry@FreeBSD.org>
To: Daniel Thiele <dthiele@gmx.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/93879: [PATCH] FIXED systemc installation problem and cleaned up Makefile
Date: Fri, 24 Mar 2006 16:29:25 +0100

 Hello,
 
 > diff -Nur /usr/ports/cad/systemc/files/patch-configure ./files/patch-configure
 > --- /usr/ports/cad/systemc/files/patch-configure	Thu Jan  1 01:00:00 1970
 > +++ ./files/patch-configure	Sun Feb 26 23:36:43 2006
 > @@ -0,0 +1,36 @@
 > +--- configure.orig	Sun Feb 26 23:35:41 2006
 > ++++ configure	Sun Feb 26 23:34:39 2006
 > +@@ -3309,6 +3309,25 @@
 > + 	AS=as
 > +         QT_ARCH="sparc-os2"
 > +         ;;
 > ++    *freebsd*)
 > ++        case "$CXX_COMP" in
 > ++            c++ | g++)
 > ++                EXTRA_CXXFLAGS="-Wall"
 > ++                DEBUG_CXXFLAGS="-g"
 > ++                OPT_CXXFLAGS="-O3"
 > ++                TARGET_ARCH="freebsd"
 > ++        	CC="$CXX"
 > ++        	CFLAGS="$EXTRA_CXXFLAGS $OPT_CXXFLAGS"
 
 Why do you force optimization flag to -O3? In these cases, you don't
 respect the original CFLAGS. Please run
 
 find /usr/ports -name Makefile | xargs grep OPTIMIZED_CFLAGS
 
 to find some examples of ports dealing with this.
 
 Regards,
 -- 
 Th. Thomas.



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