summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-09-12 10:25:28 -0700
committerJames Zern <jzern@google.com>2015-09-12 10:25:28 -0700
commit12355c4c4c356057656f5f07c9cc46691d7f4c6c (patch)
tree4e2ac6871dac0bb024cb07698c941060f18b0ec0 /configure
parentfe776ce61ffeda515fa8ba7086009fbfdb477137 (diff)
downloadlibvpx-12355c4c4c356057656f5f07c9cc46691d7f4c6c.tar
libvpx-12355c4c4c356057656f5f07c9cc46691d7f4c6c.tar.gz
libvpx-12355c4c4c356057656f5f07c9cc46691d7f4c6c.tar.bz2
libvpx-12355c4c4c356057656f5f07c9cc46691d7f4c6c.zip
configure: add --extra-cxxflags option
same usage as --extra-cflags Change-Id: Iff2ed7b8ebb6e51610ee0851aeec08413367ab23
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 0e01a2e49..a40f3abb6 100755
--- a/configure
+++ b/configure
@@ -723,6 +723,10 @@ EOF
check_add_cflags ${extra_cflags} || \
die "Requested extra CFLAGS '${extra_cflags}' not supported by compiler"
fi
+ if [ -n "${extra_cxxflags}" ]; then
+ check_add_cxxflags ${extra_cxxflags} || \
+ die "Requested extra CXXFLAGS '${extra_cxxflags}' not supported by compiler"
+ fi
}