dont-optimize was broken...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
87c87fe158
commit
018e8c8395
|
@ -1,5 +1,7 @@
|
||||||
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
|
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
|
||||||
|
|
||||||
|
* Makefile: restore function of 'dont-optimize'
|
||||||
|
|
||||||
* config.c (config_text_file_load): don't generate log message when stat() fails
|
* config.c (config_text_file_load): don't generate log message when stat() fails
|
||||||
|
|
||||||
* many files: clean up application documentation to not refer to return values, since they cannot be used in the dialplan (work done by Neil Lewis)
|
* many files: clean up application documentation to not refer to return values, since they cannot be used in the dialplan (work done by Neil Lewis)
|
||||||
|
|
11
Makefile
11
Makefile
|
@ -36,17 +36,19 @@ endif
|
||||||
# Remember the MAKELEVEL at the top
|
# Remember the MAKELEVEL at the top
|
||||||
MAKETOPLEVEL?=$(MAKELEVEL)
|
MAKETOPLEVEL?=$(MAKELEVEL)
|
||||||
|
|
||||||
|
ifneq ($(findstring dont-optimize,$(MAKECMDGOALS)),dont-optimize)
|
||||||
######### More GSM codec optimization
|
######### More GSM codec optimization
|
||||||
######### Uncomment to enable MMXTM optimizations for x86 architecture CPU's
|
######### Uncomment to enable MMXTM optimizations for x86 architecture CPU's
|
||||||
######### which support MMX instructions. This should be newer pentiums,
|
######### which support MMX instructions. This should be newer pentiums,
|
||||||
######### ppro's, etc, as well as the AMD K6 and K7.
|
######### ppro's, etc, as well as the AMD K6 and K7.
|
||||||
#K6OPT = -DK6OPT
|
#K6OPT = -DK6OPT
|
||||||
|
|
||||||
#Overwite config files on "make samples"
|
|
||||||
OVERWRITE=y
|
|
||||||
|
|
||||||
#Tell gcc to optimize the code
|
#Tell gcc to optimize the code
|
||||||
OPTIMIZE+=-O6
|
OPTIMIZE+=-O6
|
||||||
|
endif
|
||||||
|
|
||||||
|
#Overwite config files on "make samples"
|
||||||
|
OVERWRITE=y
|
||||||
|
|
||||||
#Include debug symbols in the executables (-g) and profiling info (-pg)
|
#Include debug symbols in the executables (-g) and profiling info (-pg)
|
||||||
DEBUG=-g #-pg
|
DEBUG=-g #-pg
|
||||||
|
@ -815,8 +817,7 @@ config:
|
||||||
$(INSTALL) -m 755 init.asterisk /etc/init.d/asterisk; \
|
$(INSTALL) -m 755 init.asterisk /etc/init.d/asterisk; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dont-optimize:
|
dont-optimize: install
|
||||||
$(MAKE) OPTIMIZE= K6OPT= install
|
|
||||||
|
|
||||||
valgrind: dont-optimize
|
valgrind: dont-optimize
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue