[FFmpeg-user] --extra-cflags postpend

Reindl Harald h.reindl at thelounge.net
Mon Aug 24 22:34:28 CEST 2015


Am 24.08.2015 um 22:27 schrieb Roger Pack:
> If I configure ffmpeg like
> ./configure --extra-cflags=-fno-omit-frame-pointer, my parameter is
> basically "ignored" at build time by other later parameters, viz:
>
> $make libavdevice/dshow.o V=1
>
> gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
> -D__printf__=__gnu_printf__ -DZLIB_CONST -DDEBUG -DHAVE_AV_CONFIG_H
> -O0 -fno-omit-frame-pointer -std=c99 -fomit-frame-pointer -g3
> -Wdeclaration-after-statement -Wall -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits
> -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
> -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch
> -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno
> -fno-signed-zeros -fno-tree-vectorize -Werror=format-security
> -Werror=implicit-function-declaration -Werror=missing-prototypes
> -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto
> -Wno-maybe-uninitialized  -MMD -MF libavdevice/dshow.d -MT
> libavdevice/dshow.o -c -o libavdevice/dshow.o libavdevice/dshow.c
>
> Notice that it is overridden by a later "-fomit-frame-pointer".  It
> seems there's no configure parameter that allows me to postpend
> options, anyway my suggestion/feature request would be that
> "--extra-cflags" be somehow postpended instead of what they are now

likely there is a good reason developers enforcing params to avoid 
bugreports caused as side-effects by "tune" them.......

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150824/d3753bc4/attachment.sig>


More information about the ffmpeg-user mailing list