]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 487f5a7d1c0a7a946e069c5015a2b1995048cf1b..a7bced1e7dd8cfdf969ff8cc0d0573c8be97560b 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 1f5a0bd63330cb042041ee4a5bf6e6f4b7785c5a..766fc83e1142223c20d492e1a1d716b006d8d584 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 a2b5dcf1e6e9eb272ff27037b19c4a4b653a9907..d6eb94bb8b3516c6f608af450e9d48ab2a8997f7 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)