diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-29 22:05:17 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-29 22:05:17 +0000 |
commit | 8bdcddc6248fa631630aadfc3767e8191ed079c2 (patch) | |
tree | 84c00457dbe2e656de5004eaf59d34766a742373 /Makefile | |
parent | 0226c6b0a86adfaf32264aa7240b236f819723ea (diff) |
Merged revisions 87460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines
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
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87462 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -200,7 +200,11 @@ ifeq ($(OSARCH),linux-gnu) 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 |