From owner-freebsd-ports@FreeBSD.ORG Sat Jan 24 17:31:40 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A6E106566B for ; Sat, 24 Jan 2009 17:31:40 +0000 (UTC) (envelope-from artem_kim@inbox.ru) Received: from mx38.mail.ru (mx38.mail.ru [194.67.23.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF708FC1B for ; Sat, 24 Jan 2009 17:31:40 +0000 (UTC) (envelope-from artem_kim@inbox.ru) Received: from [79.142.107.13] (port=24847 helo=[79.142.107.13]) by mx38.mail.ru with asmtp id 1LQmM3-000ALD-00; Sat, 24 Jan 2009 20:31:35 +0300 From: Artem Kim To: Dominic Fandrey Date: Sat, 24 Jan 2009 20:33:41 +0300 User-Agent: KMail/1.9.10 References: <200901241356.03651.artem_kim@inbox.ru> <497B27C6.8060602@bsdforen.de> In-Reply-To: <497B27C6.8060602@bsdforen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200901242033.42261.artem_kim@inbox.ru> X-Spam: Not detected X-Mras: Ok Cc: ports@freebsd.org Subject: Re: net/liveMedia: AMD64 "CFLAGS+=-fPIC" ignored X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 17:31:41 -0000 On Saturday 24 January 2009 17:37:58 you wrote: > Artem Kim wrote: > > There is an expression in Makefile: > > > > .if ${ARCH} =3D=3D "amd64" || ${ARCH} =3D=3D "ia64" > > CFLAGS+=3D -fPIC > > .else > > CFLAGS+=3D -fpic > > .endif > > > > However, the value "-fPIC" is not added to the variable CFLAGS. > > > > In what may be the problem? > > I cannot reproduce this. > > # cd /usr/ports/net/liveMedia/ > # make -VCFLAGS > -O2 -fno-strict-aliasing -pipe -march=3Dnocona -fPIC > # uname -p > amd64 =09 This is strange: arti# cd /usr/ports/net/liveMedia/ arti# make =2E . . c++ -c -O2 -pipe -mmmx -msse -msse2 -m3dnow -march=3Dathlon64 -Iinclude -I.= =2E/UsageEnvironment/include -I../groupsock/include -I. -DBSD=3D1 -DSOCKLEN= _T=3Dsocklen_t -DHAVE_SOCKADDR_LEN=3D1 -Wall -Wno-deprecated=20 MediaSource.cpp arti# make -VCFLAGS =2DO2 -pipe -mmmx -msse -msse2 -m3dnow -march=3Dathlon64 -fPIC -fno-strict-= aliasing =2D-------------------------------------------- arti# cat /etc/make.conf CPUTYPE?=3Dathlon64 CFLAGS=3D -O2 -pipe -mmmx -msse -msse2 -m3dnow # -fPIC COPTFLAGS=3D -O2 -pipe -mmmx -msse -msse2 -m3dnow KERNCONF=3Dmy # added by use.perl 2008-09-23 03:01:54 PERL_VER=3D5.8.8 PERL_VERSION=3D5.8.8 =2D-=20 Best regards, =E1rtem Kim