On Saturday 24 January 2009 17:37:58 you wrote:
> Artem Kim wrote:
> > There is an expression in Makefile:
> >
> > .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
> > CFLAGS+=        -fPIC
> > .else
> > CFLAGS+=        -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=nocona -fPIC
> # uname -p
> amd64

        
This is strange:

arti# cd /usr/ports/net/liveMedia/
arti# make
. . .
c++ -c -O2 -pipe -mmmx -msse -msse2 -m3dnow -march=athlon64 -Iinclude 
-I../UsageEnvironment/include -I../groupsock/include -I. -DBSD=1 
-DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -Wall -Wno-deprecated 
MediaSource.cpp

arti# make -VCFLAGS
-O2 -pipe -mmmx -msse -msse2 -m3dnow -march=athlon64 -fPIC -fno-strict-aliasing

---------------------------------------------
arti# cat /etc/make.conf
CPUTYPE?=athlon64
CFLAGS= -O2 -pipe -mmmx -msse -msse2 -m3dnow
# -fPIC
COPTFLAGS= -O2 -pipe -mmmx -msse -msse2 -m3dnow
KERNCONF=my

# added by use.perl 2008-09-23 03:01:54
PERL_VER=5.8.8
PERL_VERSION=5.8.8


-- 
Best regards,

Аrtem Kim
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to