[asterisk-commits] trunk r35459 - /trunk/Makefile
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jun 22 06:22:08 MST 2006
Author: russell
Date: Thu Jun 22 08:22:07 2006
New Revision: 35459
URL: http://svn.digium.com/view/asterisk?rev=35459&view=rev
Log:
clean up a little mess I created by using the 'or' function instead of gross
nested if statements
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?rev=35459&r1=35458&r2=35459&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu Jun 22 08:22:07 2006
@@ -133,8 +133,7 @@
MOD_SUBDIR_CFLAGS=-I../include -I..
OTHER_SUBDIR_CFLAGS=-I../include -I..
-ifeq ($(findstring dont-optimize,$(MAKECMDGOALS)),)
- ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
+ifeq ($(or $(findstring dont-optimize,$(MAKECMDGOALS)),$(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS))),)
# More GSM codec optimization
# Uncomment to enable MMXTM optimizations for x86 architecture CPU's
# which support MMX instructions. This should be newer pentiums,
@@ -143,12 +142,6 @@
# Tell gcc to optimize the code
OPTIMIZE+=-O6
- else
- # Stack backtraces, while useful for debugging, are incompatible with optimizations
- ifeq ($(OSARCH),Linux)
- CFLAGS+=-DSTACK_BACKTRACES
- endif
- endif
else
# Stack backtraces, while useful for debugging, are incompatible with optimizations
ifeq ($(OSARCH),Linux)
More information about the asterisk-commits
mailing list