SIP channel name uniqueness
[asterisk/asterisk.git] / Makefile.rules
index d7d19c6..76bf0ee 100644 (file)
@@ -39,6 +39,8 @@ OPTIMIZE?=-O6
 
 ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
     _ASTCFLAGS+=$(OPTIMIZE)
+else
+    _ASTCFLAGS+=-O0
 endif
 
 # shortcuts for common combinations of flags; these must be recursively expanded so that