get rid of another annoying stray space in the gcc commands
[asterisk/asterisk.git] / Makefile
index 8110933..9e665e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -201,7 +201,9 @@ ifeq ($(OSARCH),SunOS)
 endif
 
 ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
+ifneq ($(OPTIMIZE),)
 ASTCFLAGS+=$(OPTIMIZE)
+endif
 
 ifeq ($(AST_DEVMODE),yes)
   ASTCFLAGS+=-Werror -Wunused