shithub: sox

Download patch

ref: 215c90542b14026b4ba9fd571608f4b893d5e236
parent: 777157a4b61c2ca06613a537770973160aa4c131
author: cbagwell <cbagwell>
date: Tue Dec 29 18:41:19 EST 2009

cygwin 1.7's gcc-4 doesn't support -static option currently.
revert to gcc-3 until they ship libgcc_s.a.

--- a/cygbuild
+++ b/cygbuild
@@ -3,7 +3,7 @@
 # This script will automates the steps used to producing a static win32
 # package of SoX.
 #
-# It requires cygwin with gcc-4 and zip packages installed.  Also, it 
+# It requires cygwin with gcc-3 and zip packages installed.  Also, it 
 # requires to already have several external libraries already installed
 # under /usr/local.
 #
@@ -74,7 +74,7 @@
     --disable-shared \
     --with-libltdl \
     --enable-dl-lame --enable-dl-mad --enable-dl-amrnb --enable-dl-amrwb \
-    CC=gcc-4 CPP=cpp\
+    CC=gcc-3 CPP=cpp\
     CPPFLAGS=-I/usr/local/include \
     LDFLAGS="-static -L/usr/local/lib" \
     SNDFILE_LIBS="-lsndfile -lFLAC -lvorbisenc -lvorbisfile -lvorbis -logg" \