Index: Makefile.rules =================================================================== --- Makefile.rules (revision 261734) +++ Makefile.rules (working copy) @@ -37,6 +37,9 @@ OPTIMIZE?=-O6 ifneq ($(findstring darwin,$(OSARCH)),) + ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.4) + OPTIMIZE+=-fno-inline + endif ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.6) # Snow Leopard has an issue with this optimization flag on large files (like chan_sip) OPTIMIZE+=-fno-inline-functions