summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog2
-rwxr-xr-xMakefile13
-rwxr-xr-xcodecs/gsm/Makefile1
3 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 487f5a7d1..a7bced1e7 100755
--- 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)
diff --git a/Makefile b/Makefile
index 1f5a0bd63..766fc83e1 100755
--- 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
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index a2b5dcf1e..d6eb94bb8 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -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)