summaryrefslogtreecommitdiffstats
path: root/classes/openjdk-build-helper.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/openjdk-build-helper.bbclass')
-rw-r--r--classes/openjdk-build-helper.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/openjdk-build-helper.bbclass b/classes/openjdk-build-helper.bbclass
index 9a6c492..1aeca8d 100644
--- a/classes/openjdk-build-helper.bbclass
+++ b/classes/openjdk-build-helper.bbclass
@@ -45,7 +45,7 @@ def openjdk_build_helper_get_target_cflags(d):
45 # doesn't work anyway. 45 # doesn't work anyway.
46 version = d.getVar('GCCVERSION')[0] 46 version = d.getVar('GCCVERSION')[0]
47 # skip non digit characters at the beginning, e.g. from "linaro-6.2%" 47 # skip non digit characters at the beginning, e.g. from "linaro-6.2%"
48 match = re.search("\d", version) 48 match = re.search(r"\d", version)
49 if match: 49 if match:
50 version = version[match.start():] 50 version = version[match.start():]
51 return openjdk_build_helper_get_cflags_by_cc_version(d, version) 51 return openjdk_build_helper_get_cflags_by_cc_version(d, version)