projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
df0d634
)
configure: use HOSTCC_C/O in check_host_cc
author
Mans Rullgard
<mans@mansr.com>
Mon, 27 Aug 2012 21:19:42 +0000
(22:19 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Mon, 27 Aug 2012 22:14:06 +0000
(23:14 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index
6a338c0
..
5bada00
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-906,11
+906,15
@@
require_pkg_config(){
add_extralibs $(get_safe ${pkg}_libs)
}
+hostcc_o(){
+ eval printf '%s\\n' $HOSTCC_O
+}
+
check_host_cc(){
log check_host_cc "$@"
cat > $TMPC
log_file $TMPC
- check_cmd $host_cc $host_cflags "$@"
-c -o $TMPO
$TMPC
+ check_cmd $host_cc $host_cflags "$@"
$HOSTCC_C $(hostcc_o $TMPO)
$TMPC
}
check_host_cflags(){