[FFmpeg-devel] [PATCH 2/2] armcc: filter out non-gcc options from ASFLAGS

Janne Grunau janne-ffmpeg
Tue Jan 25 21:31:31 CET 2011


On Tue, Jan 25, 2011 at 02:45:36PM +0000, Mans Rullgard wrote:
> This allows passing armcc-specific flags with --extra-cflags without
> choking the assembler.
> 
> Signed-off-by: Mans Rullgard <mans at mansr.com>
> ---
>  configure |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/configure b/configure
> index 51e1172..94993d7 100755
> --- a/configure
> +++ b/configure
> @@ -1912,6 +1912,7 @@ elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
>      AS_DEPFLAGS='-MMD'
>      speed_cflags='-O3'
>      size_cflags='-Os'
> +    filter_asflags="filter_out -W${armcc_opt}*"
>  elif $cc -version 2>/dev/null | grep -q TMS470; then
>      cc_type=tms470
>      cc_version="AV_STRINGIFY(__TI_COMPILER_VERSION__)"

ok

Janne



More information about the ffmpeg-devel mailing list