Re: [FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64

2015-02-08 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > On Sat, Feb 07, 2015 at 08:27:49PM +, Carl Eugen Hoyos wrote: > > Ronald S. Bultje gmail.com> writes: > > > > > I'm not sure we should ever set -mdynamic-no-pic > > > on Mac x86-64? > skiping the -mdynamic-no-pic check and addition > on x86-64 looks

Re: [FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64

2015-02-07 Thread Michael Niedermayer
On Sat, Feb 07, 2015 at 08:27:49PM +, Carl Eugen Hoyos wrote: > Ronald S. Bultje gmail.com> writes: > > > I'm not sure we should ever set -mdynamic-no-pic > > on Mac x86-64? > > My patch avoids it (but it gets ignored by > clang afaict). skiping the -mdynamic-no-pic check and addition on

Re: [FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64

2015-02-07 Thread Carl Eugen Hoyos
Ronald S. Bultje gmail.com> writes: > I'm not sure we should ever set -mdynamic-no-pic > on Mac x86-64? My patch avoids it (but it gets ignored by clang afaict). Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mai

Re: [FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64

2015-02-07 Thread Ronald S. Bultje
Hi, On Sat, Feb 7, 2015 at 2:53 PM, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > > -enabled x86_64 && objformat="macho64" > > > +enabled x86_64 && objformat="macho64" && enable pic > > > enabled_any pic shared || > > > > can you explain what fails

Re: [FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64

2015-02-07 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > -enabled x86_64 && objformat="macho64" > > +enabled x86_64 && objformat="macho64" && enable pic > > enabled_any pic shared || > > can you explain what fails without this ? > > this: > check_cpp_condition stdlib.h "defined(__PIC__)

Re: [FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64

2015-02-07 Thread Michael Niedermayer
On Sat, Feb 07, 2015 at 04:31:48PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch allows compilation with icc on OSX. > > Please comment, Carl Eugen > configure |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 54159746713608d35cac3531e37dfaf386fbcf46 patchosxpic.diff > dif