aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2016-11-01 15:22:28 +0000
committerSerge Schneider <serge@raspberrypi.org>2016-11-01 16:20:55 +0000
commitd10bd4d0199d4c506a8dff7146457412ce5300c4 (patch)
tree48d4f064f3d216cf842397169250176f14bc7a17 /tools
parenta06f6b0330f0f7f6bd23f4ced77e57e657a2239c (diff)
[depends] alsa-lib: fix typo in configure.in
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/alsa-lib/Makefile1
-rw-r--r--tools/depends/target/alsa-lib/host-os.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/alsa-lib/Makefile b/tools/depends/target/alsa-lib/Makefile
index 95c69e4047..ac1c9c4f7b 100644
--- a/tools/depends/target/alsa-lib/Makefile
+++ b/tools/depends/target/alsa-lib/Makefile
@@ -39,6 +39,7 @@ ifeq ($(OS),android)
cd $(PLATFORM); patch -p0 < ../removeshm-3.patch
cd $(PLATFORM); patch -p0 < ../timeval.patch
endif
+ cd $(PLATFORM); patch -p0 < ../host-os.patch
cd $(PLATFORM); $(CONFIGURE)
$(LIBDYLIB): $(PLATFORM)
diff --git a/tools/depends/target/alsa-lib/host-os.patch b/tools/depends/target/alsa-lib/host-os.patch
new file mode 100644
index 0000000000..93e991aed2
--- /dev/null
+++ b/tools/depends/target/alsa-lib/host-os.patch
@@ -0,0 +1,11 @@
+--- configure.in 2010-04-16 12:11:05.000000000 +0100
++++ configure.in 2016-11-01 15:15:21.645908396 +0000
+@@ -31,7 +31,7 @@
+
+ which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
+ which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
+- && CC=${host_cpu}-${host-os}-gcc
++ && CC=${host_cpu}-${host_os}-gcc
+ which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
+ && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
+