From owner-freebsd-ports Fri Mar 29 4:28:38 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail-2.zoominternet.net (mail-2.zoominternet.net [63.67.120.5]) by hub.freebsd.org (Postfix) with SMTP id 8388937B41F for ; Fri, 29 Mar 2002 04:28:35 -0800 (PST) Received: (qmail 28445 invoked from network); 29 Mar 2002 12:28:33 -0000 Received: from unknown (HELO cvzoom.net) ([24.154.77.151]) (envelope-sender ) by mail-2.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 29 Mar 2002 12:28:33 -0000 Message-ID: <3CA45DF1.3020201@cvzoom.net> Date: Fri, 29 Mar 2002 07:28:33 -0500 From: Donn Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020322 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@freebsd.org Subject: Optimizations and XFree86-4-libraries port Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Any particular reason optimizations are used for the shared libs but not for the unshared? I watched the XFree86-4-libraries port compile, and couldn't help noticing that the object files in the "shared/" directories were being optimized with the CFLAGS specified in /etc/make.conf. Meanwhile, the optimizations were stripped away totally (i.e. no -O or anything, just a bare cc line) for the object files being compiled into the "unshared/" directory. That sure is odd. Is there a particular reason? I noticed a script: scripts/configure that possibly should be putting the CFLAGS specified in /etc/make.conf into the temporary host.def. Surely, this host.def file should contain the optimizations to be used for the compile. That is, unless it was the port maintainer's intention to build the unshared libs with no optimizations. Just wondering; that's all. BTW, I noticed the same thing was happening for the Open Motif port as well. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message