issue #5572
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 03:31:45 +0000 (03:31 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 03:31:45 +0000 (03:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7018 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
Makefile
codecs/gsm/Makefile

index 487f5a7..a7bced1 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-11-07  Kevin P. Fleming  <kpfleming@digium.com>
 
+       * Makefile: correct cross-compilation issue introduced in Cygwin patches (issue #5572)
+
        * apps/app_voicemail.c: upgrade to new arg/option API and implement priority jumping control (issue #5649)
 
        * asterisk.c (main): setpriority() failure is not a reason to stop the process (issue #5581)
index 1f5a0bd..766fc83 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -285,12 +285,13 @@ ifeq ($(OSARCH),SunOS)
 endif
 
 ifeq ($(findstring CYGWIN,$(OSARCH)),CYGWIN)
-CYGLOADER=cygwin_a
-OSARCH=CYGWIN
-ASTOBJ=-shared -o asterisk.dll -Wl,--out-implib=libasterisk.dll.a -Wl,--export-all-symbols
-ASTLINK=
-LIBS+=-lpthread -lncurses -lm -lresolv
-ASTSBINDIR=$(MODULES_DIR)
+  CYGLOADER=cygwin_a
+  OSARCH=CYGWIN
+  ASTOBJ=-shared -o asterisk.dll -Wl,--out-implib=libasterisk.dll.a -Wl,--export-all-symbols
+  ASTLINK=
+  LIBS+=-lpthread -lncurses -lm -lresolv
+  ASTSBINDIR=$(MODULES_DIR)
+  PROC=$(shell uname -m)
 endif
 
 ifndef WITHOUT_ZAPTEL
index a2b5dcf..d6eb94b 100755 (executable)
@@ -36,7 +36,6 @@ WAV49 = -DWAV49
 ######### which support MMX instructions.  This should be newer pentiums,
 ######### ppro's, etc, as well as the AMD K6 and K7.  The compile will
 ######### probably require gcc. 
-PROC=$(shell uname -m)
 
 ifneq (${OSARCH},Darwin)
 ifneq (${OSARCH},SunOS)