[libdispatch-dev] [PATCH] Add --enable-optimized and --disable-debug & set --march properly
Robert Watson
robert at fledge.watson.org
Fri Sep 25 03:01:53 PDT 2009
On Tue, 15 Sep 2009, Bobby Powers wrote:
> This patch cleans up the -march=i686 from src/Makefile.am, setting it in
> configure.ac if we're not on a 64-bit system. It also adds
> --enable-optimized and --disable-debug to the configure script, giving
> slightly more control over CFLAGS (and if you set CFLAGS as part of the
> configure arguments it overrides all these settings. I had a bit more work
> to split the headers off into their own directory, but I need to clean up
> the patchset.
>
> It applies with: patch -p1 <path/to/patch
>
> Let me know how it looks, in particular the detection of 64-bit is a bit
> hackish.
Hi Bobby--
Thanks for this patch. In the end I've merged a slightly different -march
handling bit for configure.ac, still arguably imperfect. I hope to dig into
optimization issues in the next week or two and will take a look at the impact
of -O3 then.
Robert
More information about the libdispatch-dev
mailing list