Re: Help fixing clang 3.4

From: hiren panchasara <hiren.panchasara_at_gmail.com>
Date: Wed, 19 Feb 2014 18:24:07 -0800
On Wed, Feb 19, 2014 at 5:19 PM, 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'

I do not know the answer but I see it being discussed here:
http://lists.freebsd.org/pipermail/freebsd-toolchain/2014-January/001103.html

cheers,
Hiren
> error: command 'cc' failed with exit status 1
> *** Error code 1
>
> --
> Steve
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Feb 20 2014 - 01:24:09 UTC

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