mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
Merged revisions 220717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r220717 | seanbright | 2009-09-28 15:09:25 -0400 (Mon, 28 Sep 2009) | 3 lines When selecting DONT_OPTIMIZE in menuselect, explicitly pass -O0 to the compiler so we override any default optimization levels for a particular install. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@220721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -39,6 +39,8 @@ OPTIMIZE?=-O6
|
|||||||
|
|
||||||
ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
|
ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
|
||||||
_ASTCFLAGS+=$(OPTIMIZE)
|
_ASTCFLAGS+=$(OPTIMIZE)
|
||||||
|
else
|
||||||
|
_ASTCFLAGS+=-O0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# shortcuts for common combinations of flags; these must be recursively expanded so that
|
# shortcuts for common combinations of flags; these must be recursively expanded so that
|
||||||
|
Reference in New Issue
Block a user