diff options
Diffstat (limited to 'media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch')
-rw-r--r-- | media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch b/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch index b2e9791d702c..fcec220c382f 100644 --- a/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch +++ b/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch @@ -1,3 +1,19 @@ +Index: libs/libswscale/libswscale.pro +=================================================================== +--- libs/libswscale/libswscale.pro (revision 22859) ++++ libs/libswscale/libswscale.pro (working copy) +@@ -14,6 +14,11 @@ + QMAKE_CFLAGS_DEBUG += -fomit-frame-pointer + } + ++# gcc-4.2 and newer can not compile with PIC on x86 ++contains(ARCH_X86_32, yes) { ++ QMAKE_CFLAGS_SHLIB = ++} ++ + !profile:QMAKE_CFLAGS_DEBUG += -O + + INCLUDEPATH = .. ../.. Index: libs/libavcodec/libavcodec.pro =================================================================== --- libs/libavcodec/libavcodec.pro (revision 22859) |