[asterisk-commits] kpfleming: branch 1.4 r87460 -	/branches/1.4/Makefile
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Oct 29 17:04:30 CDT 2007
    
    
  
Author: kpfleming
Date: Mon Oct 29 17:04:29 2007
New Revision: 87460
URL: http://svn.digium.com/view/asterisk?view=rev&rev=87460
Log:
don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command
Modified:
    branches/1.4/Makefile
Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?view=diff&rev=87460&r1=87459&r2=87460
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon Oct 29 17:04:29 2007
@@ -194,7 +194,11 @@
   endif
 endif
 
-ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
+ifeq ($(findstring -save-temps,$(ASTCFLAGS)),)
+ASTCFLAGS+=-pipe
+endif
+
+ASTCFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG)
 
 ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h
 
    
    
More information about the asterisk-commits
mailing list