From owner-freebsd-ports Fri Mar 29 9:39:42 2002 Delivered-To: freebsd-ports@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-104-17.dsl.lsan03.pacbell.net [64.169.104.17]) by hub.freebsd.org (Postfix) with ESMTP id 36ABA37B405 for ; Fri, 29 Mar 2002 09:39:38 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BD81266F6A; Fri, 29 Mar 2002 09:39:37 -0800 (PST) Date: Fri, 29 Mar 2002 09:39:37 -0800 From: Kris Kennaway To: Donn Miller Cc: ports@freebsd.org Subject: Re: Optimizations and XFree86-4-libraries port Message-ID: <20020329093937.G45029@xor.obsecurity.org> References: <3CA45DF1.3020201@cvzoom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="8S1fMsFYqgBC+BN/" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CA45DF1.3020201@cvzoom.net>; from dmmiller@cvzoom.net on Fri, Mar 29, 2002 at 07:28:33AM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --8S1fMsFYqgBC+BN/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 29, 2002 at 07:28:33AM -0500, Donn Miller wrote: > Any particular reason optimizations are used for the shared libs but not= =20 > for the unshared? I watched the XFree86-4-libraries port compile, and=20 > couldn't help noticing that the object files in the "shared/"=20 > directories were being optimized with the CFLAGS specified in=20 > /etc/make.conf. Meanwhile, the optimizations were stripped away totally= =20 > (i.e. no -O or anything, just a bare cc line) for the object files being= =20 > compiled into the "unshared/" directory. >=20 > That sure is odd. Is there a particular reason? The XFree86 code is a bit patchy with its use of CFLAGS. For example, modules don't seem to get build with the system CFLAGS either. If you had time to go through and make sure it's getting added everywhere it would be great. Kris --8S1fMsFYqgBC+BN/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8pKbYWry0BWjoQKURApgNAKCv/SBU+aiCmL5hirG2gAhpNsfbrgCg2aZ+ fv32LQbdw46EN544Saj6p2s= =eClv -----END PGP SIGNATURE----- --8S1fMsFYqgBC+BN/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message