Originally committed as revision 19471 to svn://svn.ffmpeg.org/ffmpeg/trunk
cpu
cross_prefix
dep_cc
- extra_cflags
extra_version
host_cc
host_cflags
target_path
"
+CMDLINE_APPEND="
+ extra_cflags
+"
+
# code dependency declarations
# architecture extensions
optname="${opt%%=*}"
optname="${optname#--}"
optname=$(echo "$optname" | sed 's/-/_/g')
- is_in $optname $CMDLINE_SET || die_unknown $opt
- eval $optname='$optval'
+ if is_in $optname $CMDLINE_SET; then
+ eval $optname='$optval'
+ elif is_in $optname $CMDLINE_APPEND; then
+ append $optname "$optval"
+ else
+ die_unknown $opt
+ fi
;;
esac
done