summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 11:27:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 07:34:04 +0100
commit6c4b21d7af209a2c6b9f365857a8fb395c83c58d (patch)
treefa4b3bdeeb37fd7136405398b88e0933d32d8319
parentcc21092c6d8563d5ec0ce3ba06a3735daa40fc1e (diff)
downloadpoky-6c4b21d7af209a2c6b9f365857a8fb395c83c58d.tar.gz
gcc-multilib-config: Tweak naming of options to match gcc's expectations
gcc itself does not add the '-' of options to its multilib configuration. We should follow its example. (From OE-Core rev: e742eef3e1016a29f744341c17d1b421d318b40f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-multilib-config.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
index 8c07c2d5f8..67c33f8a96 100644
--- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc
+++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
@@ -202,7 +202,8 @@ python gcc_multilib_setup() {
202 whitelist = (d.getVar("MULTILIB_OPTION_WHITELIST", True) or "").split() 202 whitelist = (d.getVar("MULTILIB_OPTION_WHITELIST", True) or "").split()
203 for i in tune_parameters['ccargs'].split(): 203 for i in tune_parameters['ccargs'].split():
204 if i in whitelist: 204 if i in whitelist:
205 opts.append(i) 205 # Need to strip '-' from option
206 opts.append(i[1:])
206 options.append(" ".join(opts)) 207 options.append(" ".join(opts))
207 208
208 if tune_baselib == 'lib': 209 if tune_baselib == 'lib':