Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Sep 2011 23:15:10 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Compiling BETA2 with clang fails
Message-ID:  <4E6298DE.5090007@FreeBSD.org>
In-Reply-To: <4E6294E0.5010104@gmail.com>
References:  <j3u29f$bv8$1@dough.gmane.org> <4E62915E.1010405@FreeBSD.org> <4E6294E0.5010104@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-09-03 22:58, Volodymyr Kostyrko wrote:
> 03.09.2011 23:43, Dimitry Andric ???????(??):
>> On 2011-09-03 22:22, Volodymyr Kostyrko wrote:
...
> .if ${CC:T} == "clang"
>     CFLAGS+= -Qunused-arguments -fPIC
> .endif

You should not unconditionally add -fPIC.  Remove it, and try again.
(The -Qunused-arguments is fine, btw.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E6298DE.5090007>