summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/cdrtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-10 10:23:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-10 14:49:48 +0000
commita6816d62ae37506c8ab7a1294be23da82a2e9d6e (patch)
treed03f647744ad33855660b582632c4f419704f803 /meta/recipes-devtools/cdrtools
parentb319e43b9fee62f30c11d266a23cea4ff30addcd (diff)
downloadopenembedded-core-a6816d62ae37506c8ab7a1294be23da82a2e9d6e.tar.gz
openembedded-core-a6816d62ae37506c8ab7a1294be23da82a2e9d6e.tar.bz2
openembedded-core-a6816d62ae37506c8ab7a1294be23da82a2e9d6e.zip
cdrtools-native: Fix when cc is missing
If cc isn't in PATH, the recipe fails. Set a variable to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cdrtools')
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
index ff4d5ac441..0e0be62710 100644
--- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
+++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
@@ -14,6 +14,9 @@ SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5
EXTRA_OEMAKE = "-e MAKEFLAGS="
+# Stop failures when 'cc' can't be found
+export ac_cv_prog_CC = "${CC}"
+
inherit native
PV = "3.01a31+really3.01"