Modified:
trunk/Makefile.linux-x86-32
trunk/Makefile.linux-x86-64
trunk/VERSION
trunk/ffmpeg.configure.linux-x86-32
trunk/ffmpeg.configure.linux-x86-64
Log:
Issue 7: remove stack protector check, for compatibility with older glibc.
Fix GNU_SOURCE typo on linux-64. Bump to version 7.
Modified: trunk/Makefile.linux-x86-32
==============================================================================
--- trunk/Makefile.linux-x86-32 (original)
+++ trunk/Makefile.linux-x86-32 Sat Sep 20 23:44:53 2008
@@ -1,7 +1,7 @@
SONAME=libavbin.so.$(AVBIN_VERSION)
LIBNAME=$(OUTDIR)/$(SONAME)
-CFLAGS += -fPIC -O3 -m32
+CFLAGS += -fPIC -fno-stack-protector -O3 -m32
LDFLAGS += -shared -soname $(SONAME) -melf_i386
STATIC_LIBS = -whole-archive \
Modified: trunk/Makefile.linux-x86-64
==============================================================================
--- trunk/Makefile.linux-x86-64 (original)
+++ trunk/Makefile.linux-x86-64 Sat Sep 20 23:44:53 2008
@@ -1,7 +1,7 @@
SONAME=libavbin.so.$(AVBIN_VERSION)
LIBNAME=$(OUTDIR)/$(SONAME)
-CFLAGS += -fPIC -O3 -m64
+CFLAGS += -fPIC -fno-stack-protector -O3 -m64
LDFLAGS += -shared -soname $(SONAME)
STATIC_LIBS = -whole-archive \
Modified: trunk/VERSION
==============================================================================
--- trunk/VERSION (original)
+++ trunk/VERSION Sat Sep 20 23:44:53 2008
@@ -1 +1 @@
-6
+7
Modified: trunk/ffmpeg.configure.linux-x86-32
==============================================================================
--- trunk/ffmpeg.configure.linux-x86-32 (original)
+++ trunk/ffmpeg.configure.linux-x86-32 Sat Sep 20 23:44:53 2008
@@ -1,4 +1,4 @@
---extra-cflags="-march=i686 -m32 -D_GNU_SOURCE"
+--extra-cflags="-march=i686 -m32 -D_GNU_SOURCE -fno-stack-protector"
--extra-ldflags="-L/lib32 -march=i686 -m32"
# We only use the static library, but need to specify --enable-shared to
Modified: trunk/ffmpeg.configure.linux-x86-64
==============================================================================
--- trunk/ffmpeg.configure.linux-x86-64 (original)
+++ trunk/ffmpeg.configure.linux-x86-64 Sat Sep 20 23:44:53 2008
@@ -1,4 +1,4 @@
---extra-cflags="-D_GNU_SROUCE"
+--extra-cflags="-D_GNU_SOURCE -fno-stack-protector"
# We only use the static library, but need to specify --enable-shared to
# ensure -fPIC is passed.