Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 07:43:54 +0100
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Help fixing clang 3.4
Message-ID:  <CAALwa8nOHS98SSzxksuwpBGfvAeCtRPpYUKTo1dBOkzbF3v%2Baw@mail.gmail.com>
In-Reply-To: <20140220011939.GA49492@troutmask.apl.washington.edu>
References:  <20140220011939.GA49492@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 20, 2014 at 2:19 AM, Steve Kargl
<sgk@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=3Dopteron -fno-strict-aliasing build/temp.fre=
ebsd-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/microprot=
ocols.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/module.o build/te=
mp.freebsd-11.0-CURRENT-amd64-2.7/_sqlite/prepare_protocol.o build/temp.fre=
ebsd-11.0-CURRENT-amd64-2.7/_sqlite/row.o build/temp.freebsd-11.0-CURRENT-a=
md64-2.7/_sqlite/statement.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/_sql=
ite/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_C=
TNUYeFLK7GVA

Cheers,

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8nOHS98SSzxksuwpBGfvAeCtRPpYUKTo1dBOkzbF3v%2Baw>