mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	allow top-level OPTIMIZE setting to affect builds in these subdirectories too
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							@@ -433,10 +433,10 @@ endif
 | 
			
		||||
noclean: depend asterisk subdirs
 | 
			
		||||
 | 
			
		||||
editline/config.h:
 | 
			
		||||
	cd editline && unset CFLAGS LIBS && ./configure ; \
 | 
			
		||||
	cd editline && unset CFLAGS LIBS && CFLAGS="$(OPTIMIZE)" ./configure ; \
 | 
			
		||||
 | 
			
		||||
editline/libedit.a: FORCE
 | 
			
		||||
	cd editline && unset CFLAGS LIBS && test -f config.h || ./configure
 | 
			
		||||
	cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="$(OPTIMIZE)" ./configure
 | 
			
		||||
	$(MAKE) -C editline libedit.a
 | 
			
		||||
 | 
			
		||||
db1-ast/libdb1.a: FORCE
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@ endif
 | 
			
		||||
#the default as we now have a better instruction set to work with. - Belgarath
 | 
			
		||||
ifeq ($(PROC),sparc64)
 | 
			
		||||
 PROC=ultrasparc
 | 
			
		||||
  CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8
 | 
			
		||||
  CFLAGS += -mtune=$(PROC) -pipe -fomit-frame-pointer -mcpu=v8
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
 
 | 
			
		||||
@@ -44,7 +44,7 @@ endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(PROC),sparc64)
 | 
			
		||||
  PROC=ultrasparc
 | 
			
		||||
  CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8
 | 
			
		||||
  CFLAGS += -mtune=$(PROC) -pipe -fomit-frame-pointer -mcpu=v8
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq (${OSARCH},FreeBSD)
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ endif
 | 
			
		||||
#Added support for UltraSparc - Belgarath
 | 
			
		||||
ifeq ($(ARCH),sparc64)
 | 
			
		||||
PROC=ultrasparc
 | 
			
		||||
CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8
 | 
			
		||||
CFLAGS += -mtune=$(PROC) -pipe -fomit-frame-pointer -mcpu=v8
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
LIBDBSO=libdb.so.$(SOVER)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								editline/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								editline/configure
									
									
									
									
										vendored
									
									
								
							@@ -1923,8 +1923,6 @@ fi
 | 
			
		||||
if test "x$enable_debug" = "xyes" ; then
 | 
			
		||||
  CPPFLAGS="$CPPFLAGS -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG"
 | 
			
		||||
  CPPFLAGS="$CPPFLAGS -DDEBUG_REFRESH -DDEBUG_PASTE"
 | 
			
		||||
else
 | 
			
		||||
  CFLAGS="$CFLAGS -O"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user