aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-30 17:44:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-30 17:51:33 +0200
commit64f07754fe48b4c794ffbcd753803dae21dcc2c1 (patch)
tree0f27e14889579481ae6f13064e66bf72e563ce0f /configure
parent64a2c51f7b1c34872ce944be1a2a3a23679a41f0 (diff)
downloadffmpeg-64f07754fe48b4c794ffbcd753803dae21dcc2c1.tar.gz
buildsys: fix c++ compilation
Based on code by: carl Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 1445b82a20..54b2ce24bf 100755
--- a/configure
+++ b/configure
@@ -688,7 +688,7 @@ check_cxx(){
log check_cxx "$@"
cat > $TMPCPP
log_file $TMPCPP
- check_cmd $cxx $CPPFLAGS $CFLAGS $CXXFLAGS "$@" -c -o $TMPO $TMPCPP
+ check_cmd $cxx $CPPFLAGS $CFLAGS $CXXFLAGS "$@" $CXX_C -o $TMPO $TMPCPP
}
check_cpp(){
@@ -1977,6 +1977,7 @@ AS_O='-o $@'
CC_C='-c'
CC_E='-E -o $@'
CC_O='-o $@'
+CXX_C='-c'
CXX_O='-o $@'
LD_O='-o $@'
HOSTCC_C='-c'
@@ -3900,6 +3901,7 @@ AS_C=$AS_C
AS_O=$AS_O
CC_C=$CC_C
CC_O=$CC_O
+CXX_C=$CXX_C
CXX_O=$CXX_O
LD_O=$LD_O
LDFLAGS=$LDFLAGS