summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch')
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch b/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch
new file mode 100644
index 0000000000..bf94b2dce8
--- /dev/null
+++ b/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch
@@ -0,0 +1,40 @@
1From f45fe1668401d72c2937a52385b492216715c0f9 Mon Sep 17 00:00:00 2001
2From: James Zern <jzern@google.com>
3Date: Thu, 6 Mar 2014 15:58:37 -0800
4Subject: [PATCH] configure.sh: quote local variables
5
6fixes issue #711
7
8specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure
9under dash
10
11reported in
12https://bugs.gentoo.org/show_bug.cgi?id=498136
13
14patch by floppymaster at gmail dot com
15
16Upstream-Status: Backport [f45fe1668401d72c2937a52385b492216715c0f9]
17
18Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d
19---
20 build/make/configure.sh | 4 ++--
21 1 file changed, 2 insertions(+), 2 deletions(-)
22
23diff --git a/build/make/configure.sh b/build/make/configure.sh
24index 449d1b9..43f8e77 100755
25--- a/build/make/configure.sh
26+++ b/build/make/configure.sh
27@@ -405,8 +405,8 @@ true
28 }
29
30 write_common_target_config_mk() {
31- local CC=${CC}
32- local CXX=${CXX}
33+ local CC="${CC}"
34+ local CXX="${CXX}"
35 enabled ccache && CC="ccache ${CC}"
36 enabled ccache && CXX="ccache ${CXX}"
37 print_webm_license $1 "##" ""
38--
391.8.3.2
40