Re: Help fixing clang 3.4

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Thu, 20 Feb 2014 07:43:54 +0100
On Thu, Feb 20, 2014 at 2:19 AM, Steve Kargl
<sgk_at_troutmask.apl.washington.edu> wrote:
> Can someone point to where I disable clang from
> issuing an error and aborting on an unknown option?
>
> % cd /usr/ports/databases/py-sqlite3
> % make
>
> cc -shared -O2 -pipe -march=opteron -fno-strict-aliasing build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/cache.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/connection.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/cursor.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/microprotocols.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/module.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/prepare_protocol.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/row.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/statement.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/util.o -L/usr/local/lib -R/usr/local/lib -lsqlite3 -o build/lib.freebsd-11.0-CURRENT-amd64-2.7/_sqlite3.so
> cc: error: unknown argument: '-R/usr/local/lib'
> error: command 'cc' failed with exit status 1
> *** Error code 1

Hi,

You can try this
http://docs.freebsd.org/cgi/mid.cgi?CAALwa8m9-dpiO4fpA_BG-QeZyo9wsRpDVXHz_CTNUYeFLK7GVA

Cheers,

Antoine
Received on Thu Feb 20 2014 - 05:43:55 UTC

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