--- Makefile.orig	2011-05-02 02:00:20.000000000 -0500
+++ Makefile	2011-11-06 21:50:43.000000000 -0600
@@ -22,8 +22,8 @@
 ###                 UNIX build: linux, bsd, mac, rtems
 ##########################################################################
 
-CFLAGS=		-W -Wall -std=c99 -pedantic -O2 $(COPT)
-MAC_SHARED=	-flat_namespace -bundle -undefined suppress
+CFLAGS=		-W -Wall -std=c99 -pedantic __CFLAGS__ $(COPT)
+MAC_SHARED=	-bundle
 LINFLAGS=	-ldl -pthread $(CFLAGS)
 LIB=		_$(PROG).so