* [meta-java][PATCH] openjdk-8-common: fix inline python
@ 2016-07-20 14:52 Dan McGregor
0 siblings, 0 replies; only message in thread
From: Dan McGregor @ 2016-07-20 14:52 UTC (permalink / raw)
To: openembedded-devel
From: Daniel McGregor <daniel.mcgregor@vecima.com>
Ensure that the inline python doensn't try to expand a non-existant
variable.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
---
recipes-core/openjdk/openjdk-8-common.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc
index 089f907..4a2af6f 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -274,7 +274,9 @@ def version_specific_cflags(d):
if int(version) >= 4:
extraflags = d.getVar('FLAGS_GCC%d' % int(version), True)
- return ''.join(extraflags)
+ if extraflags:
+ return ''.join(extraflags)
+ return ''
CFLAGS_append = " ${@version_specific_cflags(d)}"
CXXFLAGS_append = " ${@version_specific_cflags(d)}"
--
2.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-20 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20 14:52 [meta-java][PATCH] openjdk-8-common: fix inline python Dan McGregor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox