Date: Sat, 24 Jan 2009 20:33:41 +0300 From: Artem Kim <artem_kim@inbox.ru> To: Dominic Fandrey <kamikaze@bsdforen.de> Cc: ports@freebsd.org Subject: Re: net/liveMedia: AMD64 "CFLAGS+=-fPIC" ignored Message-ID: <200901242033.42261.artem_kim@inbox.ru> In-Reply-To: <497B27C6.8060602@bsdforen.de> References: <200901241356.03651.artem_kim@inbox.ru> <497B27C6.8060602@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901242033.42261.artem_kim>