Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård authored on 2009/07/12 22:29:51... | ... |
@@ -996,6 +996,7 @@ CMDLINE_SET=" |
996 | 996 |
cpu |
997 | 997 |
cross_prefix |
998 | 998 |
dep_cc |
999 |
+ extra_cflags |
|
999 | 1000 |
extra_version |
1000 | 1001 |
host_cc |
1001 | 1002 |
host_cflags |
... | ... |
@@ -1343,8 +1344,6 @@ show_list() { |
1343 | 1343 |
for opt do |
1344 | 1344 |
optval="${opt#*=}" |
1345 | 1345 |
case "$opt" in |
1346 |
- --extra-cflags=*) add_cflags $optval |
|
1347 |
- ;; |
|
1348 | 1346 |
--extra-ldflags=*) add_ldflags $optval |
1349 | 1347 |
;; |
1350 | 1348 |
--extra-libs=*) add_extralibs $optval |
... | ... |
@@ -1494,6 +1493,8 @@ test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc" |
1494 | 1494 |
: ${ld_default:=$cc} |
1495 | 1495 |
set_default as dep_cc ld |
1496 | 1496 |
|
1497 |
+add_cflags $extra_cflags |
|
1498 |
+ |
|
1497 | 1499 |
if test -n "$sysroot"; then |
1498 | 1500 |
case "$cc_type" in |
1499 | 1501 |
gcc) |