[x264-devel] [PATCH] disable PIC in C code on Darwin

Guillaume POIRIER poirierg at gmail.com
Wed Oct 1 15:13:07 CEST 2008


Hello,

2008/9/29 Alexander Strange <astrange at ithinksw.com>:
> This fixes a major speed loss on Darwin vs. other systems and shouldn't
> affect building shared libraries.

It appears to me that it does affect the build of shared libs:

common/mc.c:0: warning: -mdynamic-no-pic overrides -fpic or -fPIC
common/predict.c:0: warning: -mdynamic-no-pic overrides -fpic or -fPIC
common/pixel.c:0: warning: -mdynamic-no-pic overrides -fpic or -fPIC
common/macroblock.c:0: warning: -mdynamic-no-pic overrides -fpic or -fPIC
common/frame.c:0: warning: -mdynamic-no-pic overrides -fpic or -fPIC
common/dct.c:0: warning: -mdynamic-no-pic overrides -fpic or -fPIC
[...]


-- 
One should not give up hope on imbeciles. With a little training, you
can make them into soldiers.
 -- Pierre Desproges


More information about the x264-devel mailing list