On Jul 22, 2013, at 05:08, [email protected] wrote:
> Revision: 108385
> https://trac.macports.org/changeset/108385
> Author: [email protected]
> Date: 2013-07-22 03:08:03 -0700 (Mon, 22 Jul 2013)
> Log Message:
> -----------
> Fix a bug whereby -lsqlite3 is not included in the library list even when the
> sqlite3 variant is selected.
> Add a +perf variant to optimize code
> +# Perf variant to optimize code
> +variant perf description {Optimize for speed} {
> + configure.compiler macports-clang-3.3
> + configure.cflags -O3 -pipe -march=native
> + configure.cxxflags -O3 -pipe -march=native
> +}
Possibly you should set "configure.optflags -O3 -march=native" instead of
dealing with cflags and cxxflags directly.
Or possibly users who want performance should edit this and the compiler choice
into macports.conf directly. However they would also have to disable the use of
the precompiled binaries otherwise they would, without warning, receive a
binary that was not compiled with those flags. So I could understand if we
don't think that's the best solution.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev