Diego Biurrun <[email protected]> writes:

> On Fri, Jul 27, 2012 at 11:57:40AM +0100, Måns Rullgård wrote:
>> Diego Biurrun <[email protected]> writes:
>> > --- a/Makefile
>> > +++ b/Makefile
>> > @@ -46,7 +46,7 @@ COMPILE_S = $(call COMPILE,AS)
>> >  
>> >  %.ho: %.h
>> > -  $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ -x c $<
>> > +  $(CC) $(CCFLAGS) -c $(CC_O) -x c $<
>> 
>> OK.
>> 
>> This leaves the -x flag to deal with somehow.
>
> Which raises the question of its necessity.  I've never seen gcc fail
> w/o it, do other compilers need it?  Which ones?

I'm quite certain gcc at least used to spit warnings if given a .h file
on the command line without this flag.  Some compiler or other is sure
to be pickier still.

> It would be easy enough to hide it behind HEADER_COMPILE_FLAG or a
> similar, perhaps less burdensome name that would get set in the
> compiler option section of configure.

Sure.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to