summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-09-18 23:18:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-09-18 23:18:10 +0000
commit57694362e027c2e76c7a06bfc64f6e46735cf612 (patch)
tree0a2e492b0f8f60c5c4cb04b14e0cebd187c7073e /build
parentcd82f6982316e40c8d24ab9d60a90e9a1928f197 (diff)
parent12355c4c4c356057656f5f07c9cc46691d7f4c6c (diff)
downloadlibvpx-57694362e027c2e76c7a06bfc64f6e46735cf612.tar
libvpx-57694362e027c2e76c7a06bfc64f6e46735cf612.tar.gz
libvpx-57694362e027c2e76c7a06bfc64f6e46735cf612.tar.bz2
libvpx-57694362e027c2e76c7a06bfc64f6e46735cf612.zip
Merge "configure: add --extra-cxxflags option"
Diffstat (limited to 'build')
-rw-r--r--build/make/configure.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 12b994963..9c3044168 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -73,6 +73,7 @@ Build options:
--target=TARGET target platform tuple [generic-gnu]
--cpu=CPU optimize for a specific cpu rather than a family
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]
+ --extra-cxxflags=ECXXFLAGS add ECXXFLAGS to CXXFLAGS [$CXXFLAGS]
${toggle_extra_warnings} emit harmless warnings (always non-fatal)
${toggle_werror} treat warnings as errors, if possible
(not available with all compilers)
@@ -337,6 +338,10 @@ check_add_cflags() {
check_cflags "$@" && add_cflags_only "$@"
}
+check_add_cxxflags() {
+ check_cxxflags "$@" && add_cxxflags_only "$@"
+}
+
check_add_asflags() {
log add_asflags "$@"
add_asflags "$@"
@@ -503,6 +508,9 @@ process_common_cmdline() {
--extra-cflags=*)
extra_cflags="${optval}"
;;
+ --extra-cxxflags=*)
+ extra_cxxflags="${optval}"
+ ;;
--enable-?*|--disable-?*)
eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
if echo "${ARCH_EXT_LIST}" | grep "^ *$option\$" >/dev/null; then