openjdk-8-common: fix inline python
PATCH 1/1 openjdk-8-common: fix inline python
From: Daniel McGregor <[email protected]>
Ensure that the inline python doensn't try to expand a non-existant variable.
Signed-off-by Daniel McGregor <[email protected]>
--- recipes-core/openjdk/openjdk-8-common.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-core/openjdk/openjdk-8-common.inc +3 -1
@@ -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)}"
Signature · 1 line
2.9.1