[libdispatch-dev] [PATCH] Add --enable-optimized and --disable-debug & set --march properly

Bobby Powers bobbypowers at gmail.com
Tue Sep 15 11:44:54 PDT 2009

Hi folks,

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-enable-optimized-and-disable-debug-set-march-pro.patch
Type: text/x-patch
Size: 2557 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20090915/85dd85d0/attachment.bin>

More information about the libdispatch-dev mailing list