[Ffmpeg-devel] [PATCH] Check for __PIC__ beside PIC to enable PIC-safe code

Diego 'Flameeyes' Pettenò flameeyes
Sat Jul 1 22:00:48 CEST 2006


Okay, if defining __PIC__ isn't acceptable, this patch checks for both PIC and 
__PIC__ when entering the section that needs to be PIC-safe.
The reason for pushing the change in the source files rather than in the build 
system is simply to not require mangling of the sources when imported in 
other projects (xine-lib, xdtv).
That's why checking inside the configure for __PIC__ presence and then 
defining PIC isn't going to help.

Hope this version will be liked more than the other.

-- 
Diego "Flameeyes" Petten? - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-pic.patch
Type: text/x-diff
Size: 9195 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060701/3d91a298/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060701/3d91a298/attachment.pgp>



More information about the ffmpeg-devel mailing list