Re: Compiling BETA2 with clang fails

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 03 Sep 2011 23:15:10 +0200
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.)
Received on Sat Sep 03 2011 - 19:15:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC