clang and ports
niclas.zeising at gmail.com
Wed Jun 22 21:25:45 UTC 2011
When clang runs, it sometimes warns like this:
>clang: warning: argument unused during compilation: '-Wall'
This is extra true while linking object files, and tests done in
configure. This sometimes makes configure believe a test failed while it
in reality succeeded, as is the case in a few tests in firefox 5
configure, amongst other places. These warnings can be suppressed with
the parameter -Qunused-arguments.
I therefore suggest that you add
to make.conf or similar when building ports with clang.
I got Firefox 5 to build and run using clang, running on latest
9-Current, amd64. :)
More information about the freebsd-ports