[mythtv] PATCH for AMD64

Kyle Rose krose+mythtv at krose.org
Tue Oct 5 18:54:43 UTC 2004


libavcodec wouldn't compile with gcc-3.4 without the following patch,
because apparently AMD64 cares about -fPIC, unlike IA32.  I have no
idea if the thing actually runs: I won't know until I get home
tonight.  I also didn't even try compiling with gcc-3.3.

Cheers,
Kyle

--- libs/libavcodec/libavcodec.pro      13 Sep 2004 06:09:22 -0000      1.57
+++ libs/libavcodec/libavcodec.pro      5 Oct 2004 18:52:03 -0000
@@ -16,7 +16,7 @@
 
 INCLUDEPATH = ../../
 
-QMAKE_CFLAGS_SHLIB = 
+QMAKE_CFLAGS_SHLIB = -fPIC
 
 QMAKE_CFLAGS_RELEASE = $$OPTFLAGS -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
 QMAKE_CFLAGS_DEBUG = -g -O -DHAVE_AV_CONFIG_H -I.. -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE


More information about the mythtv-dev mailing list